Page 1 of 1

Anybody knows how to do this RegExp for Perl?

Posted: Tue Sep 28, 2004 3:09 pm
by aone999
I have input string like this:

[0020]X[0030] [0040]X[0050] [0060] [0070]

The numbers in the brackets [] are FieldCodes and those next to it are the values.

What I need a regular expression for checking fields with values duplicated. For example, in the above string, I want to see if more than one field ([0020] and [0040]) has the value 'X'.

Can some body help me? I's very urgent.

Posted: Tue Sep 28, 2004 4:06 pm
by george
Hi,

Wrong channel, this forum is for oXygen XML related questions.

Best Regards,
George