$string = qq { <html>Test text PDB code ID 1TGS 1O6S 1TGS bla bla PDB code 1ILW 1ILV PDB 2XXX }; while($string=~/PDB (?:code )?(?:ID )?(([1-9][A-Z0-9]{3} ?)+)+/mg){ pr +int $1, "\n";}
In reply to Re: Regexp find all matches
by holli
in thread Regexp find all matches
by Murcia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |