S
Saya
Hi,
I am a newbie to perl and regular expressions.
I need help with extracting a substring.
Presume:
$test = "thisIsATest(12)";
$subPar = should equal to (12)
$num = should equal to 12
How do I achieve this in perl ? Do I use regular expression ?
Any help would be appreciated.
I am a newbie to perl and regular expressions.
I need help with extracting a substring.
Presume:
$test = "thisIsATest(12)";
$subPar = should equal to (12)
$num = should equal to 12
How do I achieve this in perl ? Do I use regular expression ?
Any help would be appreciated.