in reply to changing only the first two matches of a regex
But I'm certainly not a regex-wizard...s/(\d+_)(.*)?(\d+_)(.*)/$1$2/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: changing only the first two matches of a regex
by Masem (Monsignor) on Mar 20, 2001 at 19:18 UTC |