|
Posted by Dr.Ruud on March 10, 2008, 8:57 pm
Please log in for more thread options pauls schreef:
> I am trying to figure-out how to eliminate any occurrences of the
> following text: </font> in a text file.
> Usually I try to do some operation on the input file $_ like this:
> s/</font>//g;
> But, this does not eliminate the text.
When a string contains a slash, you need to either
choose a different separator in the substitute
command, like s#</font>##g, or escape the slash,
like s/<\/font>//g. I prefer the first.
--
Affijn, Ruud
"Gewoon is een tijger."
|