I'd like to have a regex capture all instances of a pattern between two delimiters.
Simplified example to one character patterns (goal: capture all b between first x and last z):
bbxabbcbacbedbzbb
^^ ^ ^ ^
should capture the 5 bs.
I tried .*x.*(b).*z.* which only captures the last b. (rubular)