I'm no reg exp expert but I've had a quick shifty at a program I used that uses reg exp for search
Code:%^ - start of line [-A-Za-z0-9" "_] - match "A-Z","a-z","0-9"," " & "_" also match "-" might want to put the - as "-" to make sure {1,40} - can't see in the version I use so idea if it will work but in mine it an "expression" on in it's own right, looking at it I can now see it's of PCRE type so it should work. Also add "." as "dot" is a valid char.