I give up. I do not know regex, and I've spent the last 2 days trying to glom enough just to perform 1 simple task. So I'll suffer all the downvotes to ask this simple (some might say stupid) question.
I have a string that looks like this:
path/to/the/file/text_I_want_tokeep_loremipsumdolorsitamet
In other words, I want what's between the 4th "/" and the 4th "_".
An answer with no explanation is greatly appreciated. An answer with an explanation is appreciated even more. :)
Thanks!