R

TestRegex

Start of string

\A

Matches the start of a string only. Unlike ^, this is not affected by multiline mode.

Examples

Match Sample:
start of string
Regex Example:
\A\w+
PCRE PYTHON

Share & Embed

Use this snippet to display this token on your own site.

<!-- Embed Regex Token: \A -->
<code class="regex-token">\A</code> - Start of string
<small><a href="https://testregex.com/cheatsheet/start-of-string-slash-a">See details</a></small>