We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
How would you build a regex to change the src here?
Even if you managed to get this right, the likelihood is very high that your pattern could be broken easily. Don't just blindly look for strings in your HTML. Write an actual parser, if you have a lot of time to spare. Otherwise, use one of the existing ones (see Ovid's reply) and get on with your life. Makeshifts last the longest. In reply to Re: Regexps to change HTML tags/attributes
by Aristotle
|
|