Spent half a day reading up on SO and elsewhere.
Say I have a string:
"a_b_c_d_e_f_g_1_2_3_4_5"
Is there a single regex that can construct a result based on two matches? E.g. construct a string which is a concatenation of two matches: First one - between 3rd and 5th and the second one between 8th and 10th underscores (regardless of how many other characters are between them)?
The result for the above sample would be:
"d_e_2_3"
Thanks!