title: Regex for multi character strings embedded in rest of match?
body: <p>How can I match something like <code>"AB|CD|EF"</code> followed by <code>"12|34"</code> and get, for instance, <code>"AB12"</code> back? If the string was <code>"zzAB34zz"</code> I'd get <code>"AB34"</code>, <code>"zzABCD12"</code> and get <code>"CD12"</code>, etc?</p>