How to detele filename and left numbers only

Posted:
Fri Aug 18, 2017 5:23 am
by enderangel
I am trying to delete all those chinese words on the filename and left number on only, how can i do that? I can't because the words behind the numbers are not the same, thx
http://imgur.com/a/mITbn
Re: How to detele filename and left numbers only

Posted:
Fri Aug 18, 2017 11:17 am
by KenP
This will leave only the numbers, for instance ???? -62????.txt
RegEx (1)
Match: [^\d](\d+).[^\d]
Replace: \1
This will leave only the characters A to Z and/or a to z, for instance ???? -SP????.txt
RegEx (1)
Match: [^A-Za-z]([A-Za-z]+)[^A-Za-z]
Replace: \1