ATELIER
Regex visualizer
Edit on the left, railroad diagram on the right, meaning below.
Diagram
/^(pms)*/
Meaning
This pattern matches the following structure from left to right.
- Assertion: start of string (or line)
- Capturing group #1, repeat 0 or more times (greedy):
- · Match the literal “pms”