#1
|
|||
|
|||
Trying to write a regular question mark with wildcards activated
I'm trying to write a question mark with wildcards activated. Apparently you're supposed to put it in brackets, but when I do that it searches period (.)
Does anyone know what's going on here or how to include a regular "?" in a wildcard search? |
#2
|
|||
|
|||
I solved this using someone else's advice, found on Reddit:
([\(]) — You need to find a specific character (the opening parenthesis), so you need to enclose it in parentheses. However, because parentheses are special wildcard characters in their own right, you need to tell Word to treat them as normal text characters and not as special characters, so you put in a backslash ‘\‘ (also known as an ‘escape’ character) before the (, AND surround this string in square brackets [ ] (otherwise, it won’t work). |
#3
|
||||
|
||||
You don't need the brackets unless you want what is bracketed to be included in the replacement string. Search for
\? See Replace using wildcards
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#4
|
|||
|
|||
Thank you!!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Symbol in heading showing as question mark using StyleRef | NU2word | Word | 2 | 11-04-2022 10:12 AM |
Is my Office 'activated' or not? | mabel | Office | 8 | 08-01-2019 04:18 AM |
Regular Expressions / Wildcards: [1990] --> (1990) | tinfanide | Word | 2 | 08-10-2015 02:34 PM |
write need help and copy write need help on another page auto | wykoems | Word | 2 | 07-25-2013 07:56 AM |
Upside Down Question Mark? | dsfcom | Word | 3 | 10-07-2011 05:57 AM |