Hi,
i am not familiar with regex and am trying to extract only the filename from the following data without the number at the end:
myfile2.txt
myfileagain.doc
myfile33.txt
to
myfile
myfileagain
myfile
REGEX=(\bmy\w\D+) was my first idea, but I had no luck.
Can you give me a tip on how to solve this?
Regards
Udo
Try something like this:
(?<filename>[a-zA-Z]+)\d*\.\w+