You don't need the quotation marks or the square brackets:
if ( /^\w[\s]+\w/ and not /^A pdb file/ )
But my guess is you're also trying to match full words separated by a space with the first pattern, so:
if ( /^\w+[\s]+\w+/ and not /^A pdb file/ )
In reply to Re: Match entire string, not just first character
by Loops
in thread Match entire string, not just first character
by SuzuBell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |