End of string
$Matches the end of a string without consuming any characters. If multiline mode is used, this will also match immediately before a newline character.
Examples
Match Sample:
end of string
Regex Example:
\w+$
JAVASCRIPT PYTHON PCRE
Share & Embed
Use this snippet to display this token on your own site.
<!-- Embed Regex Token: $ --> <code class="regex-token">$</code> - End of string <small><a href="https://testregex.com/cheatsheet/end-of-string">See details</a></small>