Show Menu
Cheatography

RegExp Cheat Sheet (DRAFT) by [deleted]

- RegExp Cheatsheet.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Anchors

^
Start of string, or start of line in multi-line pattern
\A
Start of string
$
End of string, or end of line in multi-line pattern
\Z
End of string
\b
Word boundary
\B
Not word boundary
\<
Start of word
\>
End of word

Character Classes

 

POSIX

 

Assertions

 
 

Quanti­­fiers

 

Escape Sequences