You are not logged in.
Pages: 1
Hi - happy new year,
Is it possible to do a remove rul - that removes all letters until it meets the first digit,
example:
aklsdjask1test.doc should be renamed to 1test.doc
ahs1topic.xls should be renamed to 1topic.xls
3years.doc should be 3years.doc.
is this possible???
Thanks
CJ
Offline
Should be possible with RegEx. I'm sure someone much more well-versed in the subject than me will tell you how.
Offline
Try with the RegEx rules:
Expresion: ^(\w*?)(\d)
Replace: $2
If this software has helped you, consider getting your pro version. :)
Offline
As I'm not experienced well enough with RegEx I tried modifying these ones Renamer:Remove track numbers but failed
Your RegEx do the work (nice one ) and I'll just submit this modified one as it removes any non digit from start of line, till first digit. Someone will need it perhaps.
Expression: ^(\D*?)(\d)
Replace: $2
I used \A instead ^ too, and it seems that's the same. Is it? Same question is for \Z and $...
It will be good if it could be something like "RegExes" button, similar like Scripts in PascalScript rule, or pop up window like in Insert and Replace rules (Meta Tags), so every user can use already "served" regular expressions. Newly created will be updated etc. Sorry for posting it here, but as we speak about it...
P.S. I'll submit mine RegEx in ReNamer: Examples of Regular Expressions. I'll recommend you to do too, for future reference. Thanks
TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!
Offline
Thanks for your help:
eR@SeR's solution did the trick for me....
Cheers,
Carsten
Offline
I used \A instead ^ too, and it seems that's the same. Is it? Same question is for \Z and $...
Yup, they're complete sinonims...
Regular Expressions are not as hard to understand as you may think. Check ReNamer's manual or nice Regular Expressions tutorial for more info and start to use full power of applications that use them (like ReNamer, Mp3Tag and so on).
Offline
Pages: 1