Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2020, 07:59 AM
dum dum is offline Find nested quotes with wildcards Windows 8 Find nested quotes with wildcards Office 2003
Advanced Beginner
Find nested quotes with wildcards
 
Join Date: Oct 2016
Posts: 42
dum is on a distinguished road
Default Find nested quotes with wildcards

Hi guys! Please, consult me a bit. I need to change nested quotes and I want to find in my document all the cases in which there are two opening quotes in a row, without a closing quote between them.


So, I want to find cases like this:




Quote:
«Bla bla «Bla bla»
but not like this



Quote:
«Bla bla» «Bla bla»
My question is how to make it using wildcards? How to match any number of any characters except the one (» in my case)? Because if I write expression like this
Quote:
«([!»]{1,})«
it does not work. My Word even says that it is incorrect. Thanks a lot in advance!
Reply With Quote
  #2  
Old 04-03-2020, 12:30 AM
macropod's Avatar
macropod macropod is offline Find nested quotes with wildcards Windows 7 64bit Find nested quotes with wildcards Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
Find = ^0171[!^0187]@^0171
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-03-2020, 04:02 AM
dum dum is offline Find nested quotes with wildcards Windows 8 Find nested quotes with wildcards Office 2003
Advanced Beginner
Find nested quotes with wildcards
 
Join Date: Oct 2016
Posts: 42
dum is on a distinguished road
Default

Fantastic, thanks!


This only weird thing is that it starts finding anything after I pressed "Find Next" 30 times. It seems it finds something invisible first... But still it works! Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find nested quotes with wildcards Find and replace text with wildcards arunchandar9 Word VBA 15 06-30-2019 01:06 AM
Macro to find nested double quotes in document Arg0nawt Word VBA 2 05-03-2016 06:13 PM
Using wildcards how do I Find and Add to, not replace Stargehzer Word 3 01-25-2016 09:14 PM
Find & Replace: Wildcards (except this pattern) tinfanide Word 6 01-26-2014 06:39 AM
Find nested quotes with wildcards Smart quotes find/replace alderfall Word 3 10-24-2013 04:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:15 PM.


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