Steve Bohler
asked on
Regular Expression needed
Hello,
I have some HTML code that looks like:
<img src="/global/images/icons/ tip.gif" height="16" width="41" alt="Tip" border="0" align="left">This is some text.
I need to find any HTML tag that contains "tip.gif" and remove the tag, but nothing before or after the tag.
How might I do this?
Thanks in advance.
I have some HTML code that looks like:
<img src="/global/images/icons/
I need to find any HTML tag that contains "tip.gif" and remove the tag, but nothing before or after the tag.
How might I do this?
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK, I see that it works in Notepad++. I was trying it in my Dreamweaver editor which allows regular expressions. It was there that it matched the whole line.
Thanks very much!
Thanks very much!
ASKER
Thank you. That expression seems to find the entire line, not just the tag. I want it to find everything from the first bracket "<" to the last ">" only.