R

TestRegex

Lazy quantifier

a*?

Matches as few characters as possible.

Examples

Match Sample:
r re regex
Regex Example:
r\w*?
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> - Lazy quantifier
<small><a href="https://testregex.com/cheatsheet/lazy-quantifier">See details</a></small>