A regular expression isn't necessary. How about just using split with a ':' delimiter, then taking the second array element of the result?
main::(-e:1): 1 DB<1> $str = "R4:abcxyz45:LNX" DB<2> @words = split(':',$str) DB<3> x $words[1] 0 'abcxyz45'
In reply to Re: Regexp help
by talexb
in thread Regexp help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |