Skip to content

Instantly share code, notes, and snippets.

@4x3LDev
4x3LDev / RegexpMeta
Last active June 22, 2017 21:35
RegExp Metacharacters.
+-----------------+----------------------------------------------------------------------------------------------------------+
| Metacharacter | Description |
+-----------------+----------------------------------------------------------------------------------------------------------+
| \ | Specifies the next character as either a special character, literal, back reference, or an octal escape. |
| ^ | Matches the position at the beginning of the input string. |
| $ | Matches the position at the end of the input string. |
| * | Matches the preceding subexpression zero or more times. |
| + | Matches the preceding subexpression one or more times. |
|