Replace returned changes to:
Ellis Co.
Berks County
Frakes, Willis C.
Princes Georges County
Dasachtach, Constantine I
WILSON, JAMES CAPTAIN
Edwards County
Jenkins, Issachar
In that case, you should have searched on \bS\.C\.\b
This would add word boundaries and prevent the . from acting as a wildcard.
I'm joking of course.
The search/replace is using regular expressions. These are delightfully powerful, in the right hands, but probably confuse far more people than they help.
As well as a "match whole words only" option, perhaps we could also detect the presence of regexes (e.g. look for ?*+.[]) and ask the user whether they want to do a regex search or a literal search.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See also 1721511.
I try to change place full word Turku of Turku, Finland to Vyborg of Vyborg, Finland.
It works only if I also fill , Finland both in the search and in the replace fields.
Meliza
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1466942
Originator: NO
In that case, you should have searched on \bS\.C\.\b
This would add word boundaries and prevent the . from acting as a wildcard.
I'm joking of course.
The search/replace is using regular expressions. These are delightfully powerful, in the right hands, but probably confuse far more people than they help.
As well as a "match whole words only" option, perhaps we could also detect the presence of regexes (e.g. look for ?*+.[]) and ask the user whether they want to do a regex search or a literal search.
Logged In: YES
user_id=959928
Originator: NO
See also 1721511.
I try to change place full word Turku of Turku, Finland to Vyborg of Vyborg, Finland.
It works only if I also fill , Finland both in the search and in the replace fields.
Meliza
Logged In: YES
user_id=1061833
Originator: YES
Greg
Just so you know, the "\bS\.C\.\b" routine in PGV search and replace, returns no found instances and makes no changes.
Stephen