Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
how to write a regular expression, to find the text between closing of one '}' to start of another '{'. And also check if 'and' is present, if 'and' is present, then I have to print "{TAG} and {COUNT2} is 1".{TAG} 0012310002 and 0012310003 {COUNT} 000000 {COUNT2} 000000 and 100001
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Check for 'and'
by Anonymous Monk on Aug 11, 2009 at 08:53 UTC | |
by Anonymous Monk on Aug 11, 2009 at 09:16 UTC | |
by Anonymous Monk on Aug 11, 2009 at 09:41 UTC | |
by Anonymous Monk on Aug 11, 2009 at 09:39 UTC | |
|
Re: Check for 'and'
by Bloodnok (Vicar) on Aug 11, 2009 at 12:35 UTC | |
|
Re: Check for 'and'
by JavaFan (Canon) on Aug 11, 2009 at 09:43 UTC | |
|
Re: Check for 'and'
by youlose (Scribe) on Aug 11, 2009 at 16:31 UTC | |
by Anonymous Monk on Aug 13, 2009 at 04:33 UTC |