Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello,
I'm in need of some regular expression help.
I'd like to create a regular expression that would match the following strings: <*2>H<3:0>,<*2>I<3:0>,...,<*2>Z<2:0> H<3:0>,<*2>I<3:0>,...,<*2>Z<2:0> So the <*K> is optional in each string and there could be numerous tokens (seperated by commas). I have the following: but this will only match <*K>A<N:M>,<*K>B<N:M> and not A<N:M>,<*K>B<N:M>. Is such a regular expression possible? Thanks! In reply to regular expression help by pip9ball
|
|