[snip]
It would then be completely jacked up. Not only would it do the wrong
img,
but the tag in general would be screwed be cause of the bold tag. So
what
can I do?
[/snip]
Skip the image tag by using regex.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ya, i know it will be done with regular expressions, but how?
I dont know how to format that kind of expression
[snip]
It would then be completely jacked up. Not only would it do the wrong
img,
but the tag in general would be screwed be cause of the bold tag. So
what
can I do?
[/snip]
Skip the
Taylor York wrote:
Lets say im trying to replace every occurance of 'hello' with 'bhi/b'.
Here's something that's probably close to what you want. Something else
you need to worry about besides img tags is what if the word hello
appears in a a tag? within Javascript?
This will match anything
3 matches
Mail list logo