![]() |
VOOZH | about |
The RegExp object in JavaScript is a powerful tool for pattern matching, searching, and manipulating strings. It allows you to define patterns for matching text and helps in validation, extraction, and replacement.
Check if a String Contains a Word
true
Case-Insensitive Search
true
Validate an Email Address
true
Validate a Password
true
Extract Phone Numbers
[ '123-456-7890', '987-654-3210' ]
Extract Domain Names from Emails
[ 'example.com', 'test.org' ]
Replace All Occurrences of a Word
JS is fun. JS is powerful.
Sanitize Input by Removing Special Characters
HelloWorld2024
Highlight User Input in Text
**JavaScript** is awesome!