Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2023, 06:36 AM
frayfray96 frayfray96 is offline Trying to write a regular question mark with wildcards activated Windows 11 Trying to write a regular question mark with wildcards activated Office 2021
Novice
Trying to write a regular question mark with wildcards activated
 
Join Date: Sep 2023
Posts: 3
frayfray96 is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old 09-02-2023, 07:33 AM
frayfray96 frayfray96 is offline Trying to write a regular question mark with wildcards activated Windows 11 Trying to write a regular question mark with wildcards activated Office 2021
Novice
Trying to write a regular question mark with wildcards activated
 
Join Date: Sep 2023
Posts: 3
frayfray96 is on a distinguished road
Default

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).
Reply With Quote
  #3  
Old 09-02-2023, 07:46 AM
gmayor's Avatar
gmayor gmayor is offline Trying to write a regular question mark with wildcards activated Windows 10 Trying to write a regular question mark with wildcards activated Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
  #4  
Old 09-02-2023, 08:21 AM
frayfray96 frayfray96 is offline Trying to write a regular question mark with wildcards activated Windows 11 Trying to write a regular question mark with wildcards activated Office 2021
Novice
Trying to write a regular question mark with wildcards activated
 
Join Date: Sep 2023
Posts: 3
frayfray96 is on a distinguished road
Default

Thank you!!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to write a regular question mark with wildcards activated 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
Trying to write a regular question mark with wildcards activated 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
Trying to write a regular question mark with wildcards activated Upside Down Question Mark? dsfcom Word 3 10-07-2011 05:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft