in reply to REGEX issue
$str = "<story> <page> <description> desc </description> <image> notExpected.jpg </image>
Hmmm, HTML? XML?
I want to parse the image value and the image tag should not be inside the story tag.
Hmmm, parse! Super Search for HTML parse or XML parse and use the right™ tools.
|
|---|