Regular expression is the language to define specific pattern for text data. Javascript supports regular expression. Regular expression is generally used like below. We will look different type of usage