regEx
https://cheatography.com/davechild/cheat-sheets/regular-expressions/
Anchors
Character Classes
POSIX
Assertions
Quantifiers
Add a ? to a quantifier to make it ungreedy.
Escape Sequences
"Escaping" is a way of treating characters which have a special meaning in regular expressions literally, rather than as special characters.
Common Metacharacters
The escape character is usually \
Special Characters
Groups and Ranges
Ranges are inclusive.
Pattern Modifiers
* PCRE modifier
String Replacement
Some regex implementations use \ instead of $.
Last updated