This is my regular expression cheat sheet. Anchors ^ Start of string or line \A Start of string $ End of string or line \Z End of string \b Word boundary \B Not word boundary \< Start of word \> End of word Character Classes \c Control character \s Whitespace \S Not Whitespace \d […]