Regular Expressions Cheat Sheet by DaveChild
Source:cheatography.com
Regular Expressions Anchors
Regular Expressions Character Classes
Regular Expressions POSIX
Regular Expressions Assertions
| Regular Expressions Quantifiers
Add a ? to a quantifier to make it ungreedy. Regular Expression Common Metacharacters
The escape character is usually the backslash - \. Regular Expressions Special Characters
| Regular Expressions Groups and Ranges
Ranges are inclusive. Regular Expressions Pattern Modifiers
Regular Expressions String Replacement
Some regex implementations use \ instead of $. |
No comments:
Post a Comment