by Luuk » Fri Sep 24, 2021 11:06 pm
"Word Space" only inserts spaces, and always before capital letters or at the very beginning, with no exceptions being granted.
To add spaces and capitalize depending on a word-list, you would have to create this list, and then use it inside of another setting.
One example could be using the Replace(3) with a "Replace" and "With" like...
Howto|Checkfor|...
HowTo|CheckFor|... (so then letting Word Space see the capital letters)
Another way...
Howto|Checkfor|...
How to |Check for |... (if not liking "for" and "to" starting with capital letters)
The RegEx(1) wont remove a suffix with () or spaces, because it only destroys numbers and hyphens, like the first example.
To destroy trailing numbers or hyphens and an optional trailing ' (number)' the "Match" and "Replace" could be like...
^(.+?)[\d-]+( \(\d\))?$
\1