in reply to Re: Re: Re: Newbie reg.exp question!
in thread Newbie reg.exp question!
The former solution looked like this:C[CCNNNNNNNNNNN] C= Char N= Number
How can I support the special characters in the string? I tried like this, but it didn't return anything:@list = $line =~ m{ ( [A-Z]{2}\d{11} ) }gx;
Could someone please help and explain me how to do it correctly so that I don't have to ask next time?@list = $line =~ m{ ( [A-Z]{1}\[[A-Z]{2}\]\d{11} ) }gx;
|
|---|