Text Trim
Hello,
How can I trim only a specific text and number " 01AUG24" and " 12AUG24" from below files name ends?
20240801_7 58 COUPLING REPLACEMENT MER 3216 SDO NFQ-20-11 01AUG24
20240812_10 34 COUPLING REPLACEMENT MER 3236 12AUG24
How can I trim only a specific text and number " 01AUG24" and " 12AUG24" from below files name ends?
20240801_7 58 COUPLING REPLACEMENT MER 3216 SDO NFQ-20-11 01AUG24
20240812_10 34 COUPLING REPLACEMENT MER 3236 12AUG24
Reply to #1:
Hi Nashaat,
There are various ways to get that.
If the text to trim always has the same number of characters use this method.
REMOVE:
Remove count: 8
Starting at: 1
Check Backwards.
If the number of characters can vary, then it is better to use the following method.
REPLACE: ^(.+)\s.+$
REPLACE WITH: $1
Use regular expression: Yes
Apply to name
Miguel
Hi Nashaat,
There are various ways to get that.
If the text to trim always has the same number of characters use this method.
REMOVE:
Remove count: 8
Starting at: 1
Check Backwards.
If the number of characters can vary, then it is better to use the following method.
REPLACE: ^(.+)\s.+$
REPLACE WITH: $1
Use regular expression: Yes
Apply to name
Miguel
Reply to #2:
Dear Miguel,
Your help was a lifesaver! thanks a lot for your help.
You answered my question perfectly.
How can I learn all of these tricks? Is there any guidance available within the software?
Dear Miguel,
Your help was a lifesaver! thanks a lot for your help.
You answered my question perfectly.
How can I learn all of these tricks? Is there any guidance available within the software?
Reply to #3:
Glad to help you.
Yes, you can use the User Guide.
https://www.advancedrenamer.com/user_guide/v3/gettingstarted
Miguel
Glad to help you.
Yes, you can use the User Guide.
https://www.advancedrenamer.com/user_guide/v3/gettingstarted
Miguel