Thank you, futurlet,
Will check sub once have a chance.
Regarding using split - it will work for this particular case, though it is not as general as regex. Consider situation if I will decide to change format to something more exotic, e.g. 13.30-3.b#some comments with regex fixed quickly it...
--- 1 ---
I need to execute a regex against a string, and retrieve values of the groups.
E.g.:
regex: ^(?[0-9]+)Z(?[A-Z\.])$
string: 003ZAS.S
expected result:
group 1: 003
group 2: AS.S
match function will do that, but it requires extensions, is there a way to do it without using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.