Please tell me how to use regular expressions for strings:
cut all the strings that start with re-, and date from the end of the line, leaving only the middle? The number of substrings that re - an unknown number.
In this case, the output I want to obtain this:
Understand that you can confuse with recursive sub_str, but some garbage. Regular expression to get a nice, but.. there for me complete the dark forest yet -- he will not understand and for the week.