| Metacharacter | Search single characters, except line terminator or newline. |
| m | Perform multiline matching. |
| \r | The RegExp \r Metacharacter carriage return characters. |
| [abc] | Search for any character which is between the brackets. |
| (x|y) | Search any of the specified characters (separated by |). |
| \xxx | Find the character specified by an octal number xxx. |
| \W | Find the non word character i.e. characters which are not from a to z, A to Z, 0 to 9. |
| [^abc] | Search for any character which is not between the brackets. |
| g | Find all the occurrences of the pattern instead of stopping after the first match i.e it performs a global match. |
| [0-9] | Search any digit which is between the brackets. |
| \s | Find the whitespace characters. |
| \b | Find a match at the beginning or end of a word |
| i | Perform case-insensitive matching in the string. |
| \n | The RegExp \n Metacharacter in JavaScript is used to find the newline character. |
| [^0-9] | Search for any digit which is not between the brackets. |
| \B | Find a match that is not present at the beginning or end of a word. |
| \f | Find the form feed character (form feed is a page-breaking ASCII control character). |
| \w | Find the word character i.e. characters from a to z, A to Z, 0 to 9. It is the same as [a-zA-Z_0-9]. |
| \d | Search digit characters. It is the same as [0-9]. |
| \t | If it is found it returns the position else it returns -1. |
| \D | Search non-digit characters i.e all the characters except digits. It is the same as [^0-9]. |
| \0 | Find the NULL character. If it is found it returns the position else it returns -1. |
| \v | Find the vertical tab character. If it is found it returns the position else it returns -1. |
| * | Find the match of any string that contains zero or more occurrences of m. |
| {X,} | Find the match of any string that contains a sequence of m, at least X times, where X is a number. |
| ?! | Find the match of any string which is not followed by a specific string m. |
| {X} | Find the match of any string that contains a sequence of m, X times where X is a number. |
| ^ | Find the match of any string which contains m at the beginning of it. |
| ? | Find the match of any string that contains zero or one occurrence of m. |
| $ | Find the match of any string which contains m at the end of it. |
| + | Find the match of any string that contains at least one m. |
| \uxxxx | Find the Unicode character specified by a hexadecimal number XXXX. |
| {X,Y} | Find the match of any string that contains a sequence of m, X to Y times where X, Y must be numbered. |