xxxxxxxxxx
import re
pattern = re.compile(r'ab+c')
match = pattern.search("abc ac adc abbc")
xxxxxxxxxx
<!-- cheat sheet with examples -->
https://medium.com/factory-mind/regex-tutorial-a-simple-cheatsheet-by-examples-649dc1c3f285
https://code.tutsplus.com/tutorials/8-regular-expressions-you-should-know--net-6149
xxxxxxxxxx
Pattern pattern = Pattern.compile("ab+c");
Matcher matcher = pattern.matcher("abc ac adc abbc");
xxxxxxxxxx
const re = /ab+c/;
const str = 'abc ac adc abbc';
const match = str.match(re);