help please to remove all numbers up to the first dash in titles

Advanced Renamer forum
#1 : 24/09-14 05:10
Andrea
Andrea
Posts: 4
help please to remove all numbers up to the first dash in titles

I'm trying to mass modify my SCRIBD files. they have a variable number of numbers then a dash (or endash??)
ad the title of the book. I could use some kind hero to show me how to do this.
ie


43721600-Javascript for people with brain tumors.pdf

to

Javascript for people with brain tumors.pdf

43721-Cats.pdf

to Cats.pdf

Blessings


24/09-14 05:10
#2 : 24/09-14 08:40
Stefan
Stefan
Posts: 274
Reply to #1:
 
FROM:
43721600-Javascript for people with brain tumors.pdf
43721-Cats.pdf

TO:
Javascript for people with brain tumors.pdf
Cats.pdf


USE, e.g.:

1. Remove method (remove till first hyphen, dash)
Count: -
Start: 1
2. Remove method (remove first sign {the hyphen here})
Count: 1
Start: 1



or use
Remove Pattern method (regex match leading one-or-more digit, until and including first hyphen)
Pattern: ^\d+-
[x] RegEx




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ad more saver expression would be "^\d+?-" to match lazy,
just in case you have strings like "43721-8-Cats.pdf" and want to keep the "8-" part.
But lazy switch "?" seems not to work (v3.64 here)???

Instead we would have to use the "Replace" method.
Replace
Text: ^\d+-
With:
Occu: 1st     <<<<< the trick here.
[x]RegEx



Or two times the Remove method, as show above at first.


---



More at User Guide (http://www.advancedrenamer.com/user_guide/getti ngstarted)
 


24/09-14 08:40
#3 : 24/09-14 20:02
Andrea
Andrea
Posts: 4
Reply to #2:
Stefen,

Thank You very much! May the blessings You want come Your way!

Andrea (aka braintumor)


24/09-14 20:02
#4 : 18/02-15 16:06
Andrea
Andrea
Posts: 4
Reply to #2:
Thank You yet again. You have saved me hours and days of work! Well the dollar donation won't go very far.
Hope You like it, though. I'm disabled and don't have much $$. Thank You.


18/02-15 16:06
#5 : 18/02-15 18:03
Stefan
Stefan
Posts: 274
Reply to #4:
 
Thank you very much for the follow-up Feedback and for letting us know that it works


and in name of Kim for the donation as well. Very appreciated, thx.



All the best to you and yours.


 


18/02-15 18:03