Maybe another possible way for you could be using perl native function substr() instead of using regular expressions. Laurent_R already explained those above ;-)
In reply to Re: Replace text in file
by Yaerox
in thread Replace text in file
by snackpie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |