Regular Expression To Check Non-digit Characters

A Regular Expression to determine a character is not a digit/number.

/[^0-9]/g

Matches:

  • regex
  • ^regex
  • ~regex

Non-matches:

  • 12345

See Also: