N
naren
Hi,
I need some help with a regular expression parsing,
I have to group a string but want to exclude some characters from the
group, for example, I have a string :
would like to get genbank2398
I have tried following reg ex, but it doesn't work, can any body
help??
m/\|(\w+(?:\|)\d+)/
(?:\|), group but do not capture | , is not working, I am getting
genbank|2398
Thanks in advance,
Naren.
I need some help with a regular expression parsing,
I have to group a string but want to exclude some characters from the
group, for example, I have a string :
gnl|genbank|2398 this is a test gene
would like to get genbank2398
I have tried following reg ex, but it doesn't work, can any body
help??
m/\|(\w+(?:\|)\d+)/
(?:\|), group but do not capture | , is not working, I am getting
genbank|2398
Thanks in advance,
Naren.