Limit Find/Change

Adam Hollett Adam.Hollett at solacesystems.com
Thu Apr 23 05:51:45 PDT 2015


This regular expression should find the word "Body" only when it is not followed by "Text".

Do a Paragraph Tag search for this string with the Regular Expressions option selected:

Body(?!\s+Text)

Adam Hollett
Customer Documentation
Solace Systems
adam.hollett at solacesystems.com

-----Original Message-----
From: framers-bounces at lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Alan Litchfield
Sent: April-22-15 5:33 PM
To: framers at lists.frameusers.com
Subject: Re: Limit Find/Change

That won't do it?

Body is a whole word that also appears in Body Text.

1. Use a regular expression but I am not sure how extensive are the Find/Replace regex rules in FM.

(?!Text)(?Body)

2. Are your styles the same and just different names? If so, then can you find all instances of Body Text and change to Body, then repeat by changing all instances of Body to Body Text.

YMMV
Alan

On 23/04/15 9:19 am, Christenson, Pat wrote:
> Turn on Whole Word in Find/Change.
>
> Pat Christenson
>
> -----Original Message-----
> From: framers-bounces at lists.frameusers.com<mailto:framers-bounces at lists.frameusers.com>
> [mailto:framers-bounces at lists.frameusers.com] On Behalf Of
> john.x.posada at us.hsbc.com<mailto:john.x.posada at us.hsbc.com>
> Sent: Wednesday, April 22, 2015 3:46 PM
> To: framers
> Subject: Limit Find/Change
>
> Hi, guys...I'm putting in a couple of days to clean up some inconsistencies in my documentation template and styles.
>
> I currently use the P style  "Body Text" (no quotes)  for normal body text.
>
> However, in the past, I'd used the P Style "Body" (no quotes) and I want to do a Paragraph tag search on "Body" to clean it out.  However, it also finds "Body Text" which I don't want.
>
> How do I limit the search to just "Body"?
>
> Thanks
>
> John X Posada
> AML Syst & Ops Supt Data Analyst | US FCC & RC Systems Control &
> Analytics
> | HSBC North America Holdings Inc
> 330 Madison Ave., NY NY
>
>   _______________________________________________________________
>
>
>
>
>
>   Phone
>        Int: 212-525-5483 Ext: Personal Cellphone - 732-259-2874
>   Fax
>        Conference Bridge - 877-304-0052, Code 74809254
>   Email
>        john.x.posada at us.hsbc.com<mailto:john.x.posada at us.hsbc.com>
>
>   _______________________________________________________________
>   Protect our environment - please only print this if you have
>   to!
>
>
>
>
>
> -----------------------------------------
> ******************************************************************
> This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail.
>
> Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
> ******************************************************************
> SAVE PAPER - THINK BEFORE YOU PRINT!
> _______________________________________________
>
>
> You are currently subscribed to framers as Pchristenson at ftportfolios.com<mailto:Pchristenson at ftportfolios.com>.
>
> Send list messages to framers at lists.frameusers.com<mailto:framers at lists.frameusers.com>.
>
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com<mailto:framers-unsubscribe at lists.frameusers.com>
> or visit
> http://lists.frameusers.com/mailman/options/framers/pchristenson%40ftp
> ortfolios.com
>
> Send administrative questions to listadmin at frameusers.com<mailto:listadmin at frameusers.com>. Visit http://www.frameusers.com/ for more resources and info.
> _______________________________________________
>
>
> You are currently subscribed to framers as alan at alphabyte.co.nz<mailto:alan at alphabyte.co.nz>.
>
> Send list messages to framers at lists.frameusers.com<mailto:framers at lists.frameusers.com>.
>
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com<mailto:framers-unsubscribe at lists.frameusers.com>
> or visit
> http://lists.frameusers.com/mailman/options/framers/alan%40alphabyte.c
> o.nz
>
> Send administrative questions to listadmin at frameusers.com<mailto:listadmin at frameusers.com>. Visit
> http://www.frameusers.com/ for more resources and info.
>

--
Dr Alan Litchfield
AlphaByte
PO Box 1941
Auckland, New Zealand 1140
_______________________________________________


You are currently subscribed to framers as adam.hollett at solacesystems.com<mailto:adam.hollett at solacesystems.com>.

Send list messages to framers at lists.frameusers.com<mailto:framers at lists.frameusers.com>.

To unsubscribe send a blank email to
framers-unsubscribe at lists.frameusers.com<mailto:framers-unsubscribe at lists.frameusers.com>
or visit http://lists.frameusers.com/mailman/options/framers/adam.hollett%40solacesystems.com

Send administrative questions to listadmin at frameusers.com<mailto:listadmin at frameusers.com>. Visit
http://www.frameusers.com/ for more resources and info.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20150423/894e76e7/attachment.htm>


More information about the framers mailing list