in reply to Matching '=' and other non alphanumeric characters using regular expressions

you need to match the . and = characters. If there is a genral form for the where thoes occur you could plug them into your scripts. Without knowing that a smiple suggestion is to just add the = and periods to your regex.
if ($string =~ /DEFINITION\s\s([\w\s=\.]+)ACCESSION/){
Good luck. Josh
  • Comment on Re: Matching '=' and other non alphanumeric characters using regular expressions
  • Download Code