Page 1 of 1

Crop Including Word

PostPosted: Wed Mar 10, 2021 7:48 pm
by knglerxst
How do I crop filenames with different lengths starting from and including a particular word? I'm assuming I'll have to use RegEx since Remove only allows cropping before and after a word, but the syntax is kind of confusing.

Re: Crop Including Word

PostPosted: Wed Mar 10, 2021 8:36 pm
by knglerxst
Nevermind. I figured it out. I used

Match: (.+)\bword to be matched
Replace: \1

Re: Crop Including Word

PostPosted: Thu Mar 11, 2021 12:20 pm
by Luuk
Yes, this regex is using the best way!! Also can use \bWord\b to forbid "Wordy", but Im thinking you needed it like that anyways.