Variable Number of Words Filename1 becomes Variable Number of Words Filename 1
RegEx(1):
Match
- Code: Select all
(.+)(\d)$
Replace
- Code: Select all
\1 \2
Now I want to run it on files that have since been added; however, it's adding another space before digits that already have a space before them, resulting in two spaces before the digit. In other words, I want to exclude previously-changed filenames from the Match. I tried the following, which successfully ignored the previously re-named files:
Match
- Code: Select all
(.+)[^\s](\d)$
Replace
- Code: Select all
\1 \2
However, it substituted a space for the character immediately preceding the digit, rather than inserting a space:
Variable Number of Words Filename1 became Variable Number of Words Filenam 1
I've fiddled for an hour; I give up. I would greatly appreciate any help that's available.
Thanks!