Reuse Patterns Using Capture Groups_2

Hi ACF, go here and read joker314’s explanation. He nails it.

Also, remember this lesson where the caret has another meaning, to say the matched regex pattern starts at the beginning of the string. The caret and dollar sign are saying exactly how the pattern must start and must end.

-Fred

1 Like