I need find the IMG tag in the line below, substituting for it the
phrase, "IMAGE REMOVED"
***
<P align=center><IMG SRC="c40736033.gif" ALT="LARGE-CAP VALUE INDEX FUND
LOGO)"></P>
***
Notice the unbalanced parentheses. There is no opening parenthesis to
match the closing one.
I have used the following pattern matching expressions in this attempt:
/(<img\s+([^>]*)>)/gi
/(<img([^>]*)>)/gi
/(<img(.*?)>)/gi
I get the same error message every time:
Uncaught exception from user code:
Unmatched ) in regex; marked by <-- HERE in m/<IMG SRC="c40736033.gif"
ALT="LARGE-CAP VALUE INDEX FUND LOGO) <-- HERE ">/
Any hints, tips, or suggestions would be appreciated.
--
Craig [ "Missed it by THATMUCH" ]
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0620-0, 05/15/2006
Tested on: 5/16/2006 9:26:33 AM
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs