RegExp

Regular Expression Flags

In the previous article, you learned about regular expression being pattern of search. Regular expression uses flags that are optional and perform searches that are global or case-insensitive. You can use these searches separately or together to do search. List of Flags Here is a list of flags commonly used with regular expressions. Flag Meaning …

Regular Expression Flags Read More »

Regular Expression Basics

The regular expression is sequence of characters that makes a pattern. The pattern is used for searching text in data. You can create a simple pattern or a complex regular expression in JavaScript. The regular expression does two kind of work search and replace text using several of available string methods. Syntax The regular expression …

Regular Expression Basics Read More »