Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Any 'abc' string with at least one a and one b
Open Workspace
Python
Match
Created 2017-04-15 05:30
0
Regular Expression
r"
c
*
(?:
(?:
a
[
ac
]
*
b
)
|
(?:
b
[
bc
]
*
a
)
)
[
abc
]
*
"
gi
Description
Any 'abc' string with at least one a and one b
Submitted by
Anonymous