Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-04-15 05:30
Flavor·Python

r"
c*(?:(?:a[ac]*b)|(?:b[bc]*a))[abc]*
"
gi
Open regex in editor

Description

Any 'abc' string with at least one a and one b

Submitted by anonymous