Or to minimize it one more character....
s/^(.{188})[^0]\d{7}(.{16})$/${1}20020101$2/'
Update: As the AM below notes, this does not solve the original question, just minimizes the previous poster's RE.
In reply to Re: Re: search and replace on a line by line basis
by MidLifeXis
in thread search and replace on a line by line basis
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |