As I said in the CB, if you only want to replace exact matches (eg: 0300), make sure there isn't a number before or after it:
s/(?!<\d)0300(?!=\d)/9999/g
In reply to Re^3: Inherited a perl script...need help (s///)
by stevieb
in thread Inherited a perl script...need help
by iceotron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |