Follow us on Twitter!
Capitalism is an Island of wealth in a sea of poverty
Saturday, February 13, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 41
Guests Online: 39
TeamSpeak Online : 5 Members Online: 2

Registered Members: 92359
Newest Member: alex9
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