S
sam
Hi,
I have the following string need to be parsed in perl,
"sshd(pam_unix)[2009]"
I want to extract the first the word up to "[", what is the regular
expression can do that?
The following regular express does not work:
"m/^([^\[]*)\[.*]$"
Thanks
sam
I have the following string need to be parsed in perl,
"sshd(pam_unix)[2009]"
I want to extract the first the word up to "[", what is the regular
expression can do that?
The following regular express does not work:
"m/^([^\[]*)\[.*]$"
Thanks
sam