Start of string
^Matches the start of a string without consuming any characters. If multiline mode is used, this will also match immediately after a newline character.
Examples
Match Sample:
start 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> - Start of string <small><a href="https://testregex.com/cheatsheet/start-of-string">See details</a></small>