I have a huge file and need to replace some strings, the problem is that they are dynamic but always follow a pattern:
year[4 digits number]/month[2 digits number]/timestamp[8 digits number]/file[random string ending with extension]
Some examples:
2017/07/24204301/a-4.png
2017/07/24204318/a-5-e1501986401369.png
2017/11/24211223/questao10branca-172x300.png
I need to remove the timestamp on all occurrences, then the above example would become:
2017/07/a-4.png
2017/07/a-5-e1501986401369.png
2017/11/questao10branca-172x300.png
How can I achieve this using Regexp and Visual Studio Code?