I'm worthless when it comes to regular expressions, was hoping someone could help me out.
I'm looking to extract a portion of the full path including filename starting at either \Music\ or \My Music\ and ending prior to the last slash before the actual filename.
Example: Filename Option A - C:\Documents and Settings\Logan\My Documents\My Music\Dance & DJ\DJ Tiësto\Just Be\01 - Forever Today.mp3
Filename Option B - M:\Music\Dance & DJ\DJ Tiësto\Just Be\01 - Forever Today.mp3
Result - DJ Tiësto\Just Be
A brief explanation of how the expressions does this would be greatly appreciated as well, I'm working on learning how to create my own.