Regular Expressions

By July 7, 2019Regex

The best playground for regex: https://regexr.com/

All kinds of whitespace – tabs, line breaks, space etc.


1
/\s/g

Only alphabets and space


1
[^a-zA-Z ]

Alphabets numbers and space


1
[^a-zA-Z0-9 ]
priyankmaniar

Author priyankmaniar

More posts by priyankmaniar