Example input and settings
\d+
g
A12 B34Test JavaScript regex patterns, flags, positions and capture groups.
Matches · Capture groupsEnter the pattern and test text in separate fields, with flags such as i or m set separately. Results list matches, positions and capture groups, up to 500 entries. For example, \d+ matches 12 and 34 in A12 B34.
Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.
\d+
g
A12 B3412 · 34