removing space at the end of line

Lin Sims ljsims.ml at gmail.com
Mon Mar 23 12:45:55 PDT 2015


THAT is useful, and I'm going to put it in my how-to file immediately.

Thanks to you and Rick. I learn a lot on this list.

On Mon, Mar 23, 2015 at 3:31 PM, Craig Ede <craigede at hotmail.com> wrote:

> Thanks to Rick Quatro's excellent webinar on regular expression search and
> replace some time back I was able to construct the following reg exp search
> in FM 12 to remove a space occurring at the end of a line right before the
> end of paragraph marker. I've been using for it for awhile. I'm sure others
> have constructed something similar, but for those of you who don't want to
> mess around and experiment:
>
> Find: (?<=.) (?=\x0a)
>
> Replace with nothing. Of course, the Regular Expressions option has to be
> checked in the Find/Replace dialog.
>
> Earlier versions of FrameMaker would allow you to replace a space followed
> by an end of paragraph, but you had to replace with the paragraph marker.
> That would result in your paragraph being formatted with the tag of the
> following paragraph which was often not what you wanted.
>
> Hope this is useful to someone out there. I find that Word conversions
> often suffer from these extra spaces.
>
> Thank you.
>
> Craig
>
> _______________________________________________
>
>
> You are currently subscribed to framers as ljsims.ML at gmail.com.
>
> Send list messages to framers at lists.frameusers.com.
>
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit
> http://lists.frameusers.com/mailman/options/framers/ljsims.ml%40gmail.com
>
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.
>
>


-- 
Lin Sims
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20150323/57592b95/attachment.htm>


More information about the framers mailing list