Introduction

Description

RegExp type stores regular expressions in Javascript.

Regular expressions in Javascript has the following syntax.

var expression = /pattern/flags;

The pattern can be any simple or complicated regular expression. It can include.

  • character classes
  • quantifiers
  • grouping
  • lookaheads
  • backreferences.




















Home »
  Javascript »
    Javascript Introduction »




Script Element
Syntax
Data Type
Operator
Statement
Array
Primitive Wrapper Types
Function
Object-Oriented
Date
DOM
JSON
Regular Expressions