

Must match at least 3 times but not more than 7 times. Used for inserting horizontal white space. It is used for negative look behind assertion. It is used for positive look behind assertion. It is used for negative look ahead assertion.

It is used for positive look ahead assertion. It is used to match pattern of the branch test. It is used to match pattern of the non capturing group. It allows continued search after \g match fails. It is used to replace all the occurrence of string. It checks if ‘a’ occurs 2 to infinite times It matches for 0 or more occurrence of character. It matches for 1 or more occurrence of character. It matches for 0 or 1 occurrence of character. These are used to check for the special characters. Metacharacters are used to match patterns in Perl regular expressions. It matches for i.e form feed, tab, newline and carriage return. It matches that the characters a and b should not be followed by c, d and e. It includes all characters except a and z. It includes all lowercase characters from a to z. It includes all the characters from a to j. It includes only one of specified characters i.e. These classes let the user match any range of characters, which user don’t know in advance. which are used in regular expression.Ĭharacter classes are used to match the string of characters. So to provide that facility, a regex cheat sheet is created which contains the different classes, Characters, modifiers etc. When user learns regular expression then there might be a need for quick look of those concepts which he didn’t use often.

In this, set of characters together form the search pattern. It is used for searching the specified text pattern.
