Author

Topic: [BOUNTY] 0.2 btc for a regular expression in php [CLOSED] (Read 1178 times)

hero member
Activity: 812
Merit: 1000
just looking for a quick regexp for this please:

input string has including .

i need it to output something like:

Code:
array (
[0]=>lots of stuff
[1]=>stuff in angled brackets
)

need a little php code block for this, thanks.


EDIT: worked this out myself.

Code:
preg_match_all("/<[^>]+>/",$tmp,$out, PREG_PATTERN_ORDER);
Jump to: