Page 1 of 1

Variable text within a regular expression

Posted: Thu May 05, 2011 12:19 pm
by dyeager
We're comparing XML data and for some of the dynamic data I would like to use a regular expression to ignore those parts of the line. I've been able to use <OpenDt>.......................</OpenDt>, but the data in this element will be of varying length. I've tried <OpenDt>*</OpenDt>, but that doesn't seem to work. Any suggestions?

Re: Variable text within a regular expression

Posted: Thu May 05, 2011 6:51 pm
by psguru
Try <OpenDt>.*</OpenDt>