Question: I need help getting a regular expression to pass on https://regex101.com/tests . In the website you switch to test area and add the following regex
I need help getting a regular expression to pass on https://regex101.com/tests . In the website you switch to test area and add the following regex words with ("add test") Build a regular expression that accepts all words EXCEPT baa, ab, and abb. Assume the alphabet is (ab)
These strings should have FULL matching
a
b
aa
bb
ba
aaa
bbb
bba
aab
aba
bab
abba
baba
abab
abbba
babababaabab
These strings should NOT have FULL matching:
baa
ab
abb
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
