Skip to content

JS

How to get word, number, whitespace using Javascript regex

How to get word, number, whitespace using Javascript regex

In this post we will see some example of regular expression using which we will find words, non-words, numbers, non-numbers, whitespaces and non-whitespace characters. We will use special characters from regular expression Character classes. These special characters start with the ‘\’ backward slash. There are many more than the ones that I have displayed.

Read More »How to get word, number, whitespace using Javascript regex
Please share