Input:
foo123bar
Pattern:
( "foo" # Literal sequence of characters. (['0'-'9', 'a'-'f']+) # One or more hex digits. "bar" # Partially overlaps with hex digits. | "socks" )
Result: