Attention:
Because you left precious little information, I created this expression especially for your example
This means seven numbers at the beginning followed by a path to a file (you may add more extensions and drives) followed by a date and a time value.
@Dinkelhopper
I only had to change "jgp" to "JPG" and it is working now
But lets say the following:
I want to remove ALL content (numbers, letter, spaces etc) infront of the "G:......", and all the stuff after the ".jpg" any idea? I just cant find some code
I am using RegExBuddy for lerning RegEx
@Leo
First I wanted to rename a jpg in DO using the \d and nothing seemed to work inside DO. Then I used my RegEx buddy program to see if I make a mistake just testing the \d .....now that you haven mentioned its not supportet in DO, I know why, ha ha
I tried to rename a file in DO using the \d and some other things - but nothing worked in DO. Do does not support a few things in RegEx so far and I thought someone could help me anyway with RegEx.
The reason why I wanted to change that text is the following:
I am running a program, which lists me doubble files and the output is the way like in my example.
Some time ago, a DO user asked how to create a collection in DO using a tex file. I think you also took part in this. Now, by changing my text file with RegEx I am able to use the button