Reply to topic  [ 3 posts ] 
Find Replace query 
Author Message

Joined: 2011-01-25 21:24:09
Posts: 4
Could anyone kindly tell me how to go about Finding text between square brackets, and applying a paragraph style to the text between the brackets (deleting the brackets)?
I'd be most grateful,


2014-11-09 03:08:59
User avatar

Joined: 2007-02-07 00:58:12
Posts: 876
Location: Japan
Hello Declan,
  1. Open Find and set to Powerfind (not Powerfind Pro)
  2. Type the brackets
  3. Inside the brackets, put Capture() from the 'Match' menu.
  4. Inside the Capture() parentheses, put "Any Character" from the 'Wildcard' menu.
  5. After the "Any Character", put "Shortest 1 or more" from the 'Repeat' menu. (Now you can test the Find to see that it matches what you want.)
  6. In the replace box, put "Captured 1" from the 'Match' menu
  7. Select the 'Captured 1' and apply the paragraph style you want to add. Make sure "Replace Attributes" is checked below the replace box.
Then you are ready to go.

Here's what it should look like. (I'm using Bold Italic on the replace, but any styles will do.)

Find_in_Brackets.png [ 45.93 KiB | Viewed 1681 times ]

2014-11-09 06:35:38

Joined: 2011-01-25 21:24:09
Posts: 4
Fantastic. Thanks for the step by step instructions.


2014-11-09 10:43:02
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software