RegEx Editor PHP 8.5.12 · PCRE 10.40
Modifiers
More modifiers
Ctrl + Enter runs the test

3 matches

Function
preg_match_all
Subject
Characters: 66, lines: 3
Groups
3 per match
Time
0.01 ms
/(\d{4})-(\d{2})-(\d{2})/u

Subject in the grid · character offsets

Grid of the subject with 3 marked matches; the match list holds the same information.

One cell per character. Number on the left: byte position of the row in PHP.

Match list

No. Start Text Groups
1 0 2026-11-14 2026 11 14
2 21 2026-11-15 2026 11 15
3 46 2026-11-16 2026 11 16