|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Need Wild Card for Deleting Square Brackets with Differing Numbers inside
Is there a way to use wild cards to delete all the square brackets in a document?
They go from [p. 1] to [p. 436] |
#2
|
||||
|
||||
If you want to get rid of all brackets in a document, you can do it in two steps without wildcards: (1) Replace All [ with nothing and then (2) Replace All ] with nothing.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
||||
|
||||
Or in one step using wildcards:
Find = [\[\]] Replace = nothing
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
Sorry, I should have been clearer I want the brackets and their contents deleted without having to go theough them manually.
|
#5
|
||||
|
||||
In that case, using wildcards:
Find = \[*\] Replace = nothing
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#6
|
||||
|
||||
Indeed, getting rid of the contents as well would require a wildcard find & replace. See Paul's reply.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#7
|
|||
|
|||
That did it. Like magic. Obrigado senhors!
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wild card confusion | Ulodesk | Word | 4 | 08-23-2018 06:06 AM |
How to use wild card in VBA for Advance Filter? | LearnerExcel | Excel Programming | 1 | 10-09-2017 12:27 AM |
Bold numbers between square brackets | jeffreybrown | Word | 4 | 02-13-2017 04:32 PM |
Help with: Replace and reformat numbers inside square brackets | johnbrowny | Word | 1 | 02-13-2016 06:45 PM |
Wild card to highlight capitalised terms? | bertietheblue | Word | 2 | 02-08-2013 04:44 PM |