JavaScript RegExp Tutorial

JavaScript RegExp Tutorial

A regular expression is an object that describes a pattern of characters. The JavaScript RegExp class represents regular expressions, and both String and RegExp define methods that use regular expressions to perform powerful pattern-matching and search-and-replace functions on text.

This tutorial will teach you basic and advanced JavaScript RegExp concepts and usage of various methods/properties of JavaScript RegExp in a simple and intuitive way.


This reference has been prepared for the HTML and JavaScript developers from beginner to expert level.

After completing this tutorial you will find yourself at a moderate level of expertise in knowledge of JavaScript RegExp from where you can take yourself to next levels


Knowledge of HTML and JavaScript.