Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
what is the equivalent regular expression in perl. I would like to read a big file and changes the contentssed -e 's/\(CELL_NAME\)\(.*\)\(_[A-Z]_\)\(.*\)/\1\2_\4/g'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regular expression question
by citromatik (Curate) on Aug 07, 2007 at 11:05 UTC | |
by ikegami (Patriarch) on Aug 07, 2007 at 14:24 UTC | |
|
Re: regular expression question
by casiano (Pilgrim) on Aug 07, 2007 at 11:09 UTC | |
|
Re: regular expression question
by swampyankee (Parson) on Aug 07, 2007 at 13:48 UTC |