kepler has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm trying to eliminate from a string, $text, the following pattern type (usually at the end of the string):
A 2007A&A...474..653V C 2002yCat.2237....0D A [1 90] 2007A&A...474..653V F 2007A&A...474
etc...
i think it's best to use the position match and then create a substr
But this is not going very well...
Any suggestions? Kindly apreciated...
Kepler
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: String replacement
by afoken (Chancellor) on Sep 13, 2015 at 16:35 UTC | |
|
Re: String replacement
by Laurent_R (Canon) on Sep 13, 2015 at 20:39 UTC | |
by kepler (Scribe) on Sep 14, 2015 at 11:18 UTC | |
by Laurent_R (Canon) on Sep 14, 2015 at 13:52 UTC |