Follow us on Twitter!
Few are those who can see with their own eyes and hear with their own hearts. - Albert Einstein
Friday, April 25, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 22
Guests Online: 22
Members Online: 0

Registered Members: 82909
Newest Member: awais
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

RE: preg_match_all


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 31-08-08 21:18
Code
preg_match_all("|<[^>]+>(.*)</[^>]+>|U",




[] character class, it looks for anything but >
+ one or more times between<> and then </>
in between those it searches a substring of any character 0 or more times
|| are the delimiters for the regex


http://us.php.net/manual/nl/reference.pcre.pattern.modifiers.php
the "U"




Edited by on 31-08-08 21:37