Let's see if you can help me please. I am trying to capture with RegEx with the program "The regex Coach" the names of the directories and subdirectories of a path. Example:
Projects \ UP / PS (21063) \ 2789 (spain) / Ref / 15 \ Email
I want to capture what is between the backslash except what is between the first two. Let me explain, I want to capture the following:
UP / PS
I used ([^\]+)\s
(it does not work, I take the blank at the end)
(21063)
I used \((.*?)\)
(works perfectly)
2789 (spain) / Ref / 15
I can not jump to the second backslash
I can not jump to the third backslash
I've tried a thousand ways but I can not. I hope it's clearer now (sorry, the first time I did not explain it better) Thanks for the help! :)