|
|
| P is for Practical | |
| PerlMonks |
Answer: how do i replace link=#ccffcc (ex.) in a html line... |
| ( #133721=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > regular expressions > how do i replace link=#ccffcc (ex.) in a html line... contributed by Juerd
Well, using and editor and a keyboard would be one way to do such a thing.
s/#ccffcc/#000000/ can be used in a variety of editors, and with Perl too. If you're on a *nix system and want to replace all occurences in a file, you could use On DOS-based systems you probably need to use double instead of single quotes. Good luck!
|
|
||||||||||||||||||