Regex Cheat Sheet/End of string

Match only at the end of the input.

Section: Anchors and Boundaries

End of string

regex
regex
$
Explanation

Use with `^` for full-line or full-string matching.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Anchors and Boundaries
Start of string
Match only at the beginning of the input.
OpenIn sheetregexsame section
Absolute start anchor
Match only at the absolute start of the entire string.
OpenIn sheetregexsame section
Absolute end anchor
Match only at the absolute end of the entire string.
OpenIn sheetregexsame section
Word boundary
Match a transition between word and non-word characters.
OpenIn sheetregexsame section
Non-word boundary
Match where a word boundary does not occur.
OpenIn sheetregexsame section
Digit shorthand
Match one ASCII digit character.