'Regex match words without alphabet

I want to match all words that doesn't include alphabet [a-zA-Z] init.

Pass cases

  • Some Name
  • Another3 [VLT]
  • Also! (This)

Fail cases

  • Not 42 this
  • This is wrong (!)
  • Wrong #!

I tried this regex /\b[^a-zA-Z ]+\b/ but it fails for some cases



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source