H
hugo
I would like a regular expression that can recognized 1 or more
segments which are variable length. Say each segment is of the form
TAGxxxx, where the number of x's is arbitrary. I want to parse records
like the following,
TAGxxx
TAGxxxxxTAGxx
TAGxxTAGxxxxxxTAGxxxxxxxx
and so on. (TAG(.*))+ finds the first TAG and then gobbles the rest. I
want to find as many TAG(.*)'s as possible, not the fewest possible.
Thanks
segments which are variable length. Say each segment is of the form
TAGxxxx, where the number of x's is arbitrary. I want to parse records
like the following,
TAGxxx
TAGxxxxxTAGxx
TAGxxTAGxxxxxxTAGxxxxxxxx
and so on. (TAG(.*))+ finds the first TAG and then gobbles the rest. I
want to find as many TAG(.*)'s as possible, not the fewest possible.
Thanks