Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
What I need to extract is the contents of the last set of brackets as a string and the word immediately before the open bracket into a seperate string, discarding the rest. Can anyone help?SMSG(could be anything here.) SMSG(And more then one occurrence. And the following @ symbol is sometimes missing) @ JOB2(AGE=42, NAME=Robert, DATE=@TODAY)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The last occurrence
by ccn (Vicar) on Jul 20, 2004 at 12:47 UTC | |
by Scarborough (Hermit) on Jul 20, 2004 at 13:45 UTC | |
|
Re: The last occurrence
by Dietz (Curate) on Jul 20, 2004 at 13:05 UTC |