Hey Guys,
I'm getting better with regex, but this query is giving me a mother of a time. I want to capture the information between two arbitrary html tags, with no back references. (so it'll parse less shit)
in this case, the tag is named <Features> and </Features>
preg_match("<Features>(.*?)<//Features>",$description,$urlarray);
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in
I know I'm close, and it's just missing some stupid piece of something. Anyone see where Im completely fucking this up?
thanks.
josh
I'm getting better with regex, but this query is giving me a mother of a time. I want to capture the information between two arbitrary html tags, with no back references. (so it'll parse less shit)
in this case, the tag is named <Features> and </Features>
preg_match("<Features>(.*?)<//Features>",$description,$urlarray);
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in
I know I'm close, and it's just missing some stupid piece of something. Anyone see where Im completely fucking this up?
thanks.
josh