Regular Expressions 101

Community Patterns

Non Capturing Group

1

Regular Expression
PCRE (PHP <7.3)

/
A(?:nt|pple)\sA
/

Description

It won't capture in the group.we can't back refrence A(?:nt|pple)\sA\1

Submitted by anonymous - 8 years ago