Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-18-2017, 10:32 AM
slaycock slaycock is offline Add a return between two square brackets Windows 7 64bit Add a return between two square brackets Office 2013
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

I stand corrected.

The answer John is looking for is to use Find and Replace with wildcards

Search for ([\]])([\[]) and replace with \1^p\1.

It looks complicated because both [ and ] have to be escaped by preceding them with the \

The replace box refers to fiels which are defined by everything between 9 and 0. The search has two such fields.

the ^p is the replace special symbol for a pararaph marker/ NOTE that ^p cannot be used in the search box, you need to use ^013 instead.

If you were doing this by a macro then

.find.text="([\]])([\[])"
.replacement.text="\1^p\2"
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a return between two square brackets Bold numbers between square brackets jeffreybrown Word 4 02-13-2017 04:32 PM
Add a return between two square brackets Help with: Replace and reformat numbers inside square brackets johnbrowny Word 1 02-13-2016 06:45 PM
Gray square brackets waldux Word 8 09-25-2013 04:14 PM
Add a return between two square brackets square brackets and grey background – why? eNGiNe Word 2 11-21-2012 01:06 AM
Add a return between two square brackets Filled square daksein Drawing and Graphics 4 06-21-2011 02:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:12 AM.


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