>>110361970
the shot answer is if you want a specific trip regex wont help you
regex just lets you define all the possible trips you are interested in
it is probably easier to figure out what it does from examples than a formal explanation
# the c is optional because of the ? so both abce and abe match
abc?e
# parentheses group so cde is optional so abcdef and abf match
ab(cde)?f
# any character in [] matches so abe ace ade all match
a[bcd]e
# * means zero or more so all these match ac abc abbc abbbc abbbbc ...
ab*c
there are probably flags to ignore uppercase/lowercase but how to set that flag depends on the regex implementation
you can read more about regex in a bunch of places