#1
|
|||
|
|||
How to know what the character after a special character is.
Hello
I want to know if space character ( ) has used after all dots, commas and semicolons (. , in a document or not; to fix them if wrong. How can I do it? For example have a look at below sample. all are correct, but one comma needs to have a space after it. {Opened for signature in 1968, the treaty entered into force in 1970. As required by the text, after twenty-five years,NPT Parties met in May 1995 and agreed to extend the treaty indefinitely.} Is it doable by using Wildcard? If so, how? Thank you very much. Mohsen |
#2
|
||||
|
||||
A wildcard search for "[,.;]{1}[! ]" would do it BUT...
This is not straightforward as there are plenty of cases where there shouldn't be a space after punctuation. For instance what about numbers or ends of paragraphs? The number is 24.3 in English but in France it is 24,3.[end of paragraph mark] What exactly is the purpose of the search? Are you planning on stepping through all the instances to evaluate each one individually?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Guessed
Yes that is what I will do. I want to check all searched words one by one. Do you have another idea? |
#4
|
||||
|
||||
I would probably search for these characters followed by a letter eg "[,.;]{1}[a-zA-Z]"
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Change a special Character in Word 2019 | Julio Borges | Word | 3 | 03-02-2021 09:14 AM |
special character from Google | jalea148 | Word | 2 | 07-28-2018 03:54 PM |
Border Special Character | vote4gop | Word | 5 | 02-28-2015 10:44 PM |
search for special character and apply outline? | n00bie-n00b | Word VBA | 0 | 10-12-2014 03:17 AM |
How do I output special character to a specific cell (x,y)? | norwood | Word VBA | 2 | 01-31-2014 01:26 PM |