It operates on every line. On each line, there will be, at most, one substitution. If you want multiple substitutions on a line, add the 'g' modifier (see perlre for details) like this:
s/the line to be replaced/this is the new line/g
-- Ken
In reply to Re^3: A Better Way
by kcott
in thread A Better Way
by toniax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |