Community Patterns

Community Library Entry

4

Regular Expression
Created·2015-05-01 17:34
Flavor·PCRE (Legacy)

/
(?:.*?(Constr1)+){3}.*?((Constr1)+)
/
s
Open regex in editor

Description

Match nth occurence of the patterns in the inner parenthesis. Put nth that you want to match in the curly braces (here, {3}).

Submitted by Alex Hall