Zero or one of a
a?Matches an `a` character or nothing.
Examples
Match Sample:
ba b a
Regex Example:
ba?
JAVASCRIPT PYTHON PCRE
Share & Embed
Use this snippet to display this token on your own site.
<!-- Embed Regex Token: a? --> <code class="regex-token">a?</code> - Zero or one of a <small><a href="https://testregex.com/cheatsheet/zero-or-one-of-a">See details</a></small>