Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Wednesday, February 10, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 31
Guests Online: 28
TeamSpeak Online : 5 Members Online: 3

Registered Members: 92294
Newest Member: Geeeela
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