fourmi has asked for the wisdom of the Perl Monks concerning the following question:
I have a series of gifs (lets say three) across a couple of hundred web pages, and i want to get rid of the central one, which has variable markup in the img tag (but does always contain 'blah.gif', variable markup wrt attributes etc).<!--ReallyGreedy--> <!--LessGreedy--> <b>Lots and lots of html markup that isn't really releveant </b> <img src=WantToKeepThis.gif> <b>More html markup that isn't really releveant </b> <img id=Changeable src=WantToGetRidOfThis.gif width=AlsoChangeable> <!--LessGreedy--> <b>Even more html markup that isn't really releveant </b> <img src=WantToKeepThisToo.gif> <!--ReallyGreedy-->
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Greedy RegExp
by Roy Johnson (Monsignor) on Mar 15, 2004 at 16:00 UTC | |
by fourmi (Scribe) on Mar 15, 2004 at 16:15 UTC | |
by Abigail-II (Bishop) on Mar 15, 2004 at 16:26 UTC | |
|
Re: Greedy RegExp
by Abigail-II (Bishop) on Mar 15, 2004 at 16:01 UTC | |
by fourmi (Scribe) on Mar 15, 2004 at 16:17 UTC | |
|
Re: Greedy RegExp
by Roy Johnson (Monsignor) on Mar 15, 2004 at 16:14 UTC | |
by fourmi (Scribe) on Mar 15, 2004 at 16:18 UTC |