http://www.perlmonks.org?node_id=11122018


in reply to Re: regex search for words with one digit
in thread regex search for words with one digit

/\b[^\d\s]*\d[^\d\s]*\b/
/\b[A-Z]*\d[A-Z]*\b/i

Note that these match the name '1'.

Update: Note also that [^\d\s] matches stuff like % & = - / .


Give a man a fish:  <%-{-{-{-<