/

HTML / CSS / JavaScript Tutorial

JavaScript regular expressions: [^0-9]

[this page | pdf | back links]

A JavaScript regular expression takes the form: /pattern/modifiers

 

Regular expressions can also include brackets to accept (or reject) a range of characters. An expression containing [^0-9] means find any character not within a given range, here any digit.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Regular Expressions


Desktop view | Switch to Mobile