<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Craig,</p>
<p>this sounds familiar. It was always necessary to start a first search from text, a second one from within a table (and sometimes a third one on the master pages).</p>
<p>So it seems that FrameMaker has not changed its behaviour with version 12.</p>
<p>Best regards - Tino H. Haida, Berlin</p>
<p> </p>
<p>Craig Ede:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Oddly enough, after posting this I ran into an issue I hadn't seen before while stepping through a series of such replaces.<br /><br />Sometimes after removing a space in a table it reports "Not found." Yet if you click outside the table, it will continue to find such items. Sounds like a bug to me. The occurrence of multiple paragraphs in a table, some of which may have spaces at the end of a paragraph, may not have been adequately tested by Adobe.<br /><br />Craig<br /><br />
<div><hr id="stopSpelling" />From: Adam.Hollett@solacesystems.com<br />To: craigede@hotmail.com<br />Subject: RE: removing space at the end of line<br />Date: Mon, 23 Mar 2015 19:59:18 +0000<br /><br />
<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size: 11.0pt; font-family: 'Arimo','sans-serif'; color: #404040;">Thanks so much for this. I've had a blog post brewing in my head for some time about how regular expressions can be very useful for editing. Have yet to write it, though.</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11.0pt; font-family: 'Arimo','sans-serif'; color: #404040;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size: 11.0pt; font-family: 'Arimo','sans-serif'; color: #404040;">I'll be using this very frequently, I think.</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11.0pt; font-family: 'Arimo','sans-serif'; color: #404040;"> </span></p>
<div>
<p class="ecxMsoNormal"><span style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: #404040;">Adam Hollett</span></p>
<p class="ecxMsoNormal"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #f8991d;">Customer Documentation</span></p>
<p class="ecxMsoNormal"><span style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: #005dab;">Solace Systems</span></p>
<p class="ecxMsoNormal"><span style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #007be0;">adam.hollett@solacesystems.com</span></p>
</div>
<p class="ecxMsoNormal"><span style="font-size: 11.0pt; font-family: 'Arimo','sans-serif'; color: #404040;"> </span></p>
<div>
<div style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;">
<p class="ecxMsoNormal"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">From:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> framers-bounces@lists.frameusers.com [mailto:framers-bounces@lists.frameusers.com] <strong>On Behalf Of </strong>Craig Ede<br /><strong>Sent:</strong> March-23-15 3:31 PM<br /><strong>To:</strong> framers<br /><strong>Subject:</strong> removing space at the end of line</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<div>
<p class="ecxMsoNormal"><span>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:<br /><br /> Find: (?<=.) (?=\x0a)<br /><br /> Replace with nothing. Of course, the Regular Expressions option has to be checked in the Find/Replace dialog.<br /><br /> 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.<br /><br /> Hope this is useful to someone out there. I find that Word conversions often suffer from these extra spaces.<br /><br /> Thank you.<br /><br /> Craig</span></p>
</div>
</div>
</div>
</div>
<!-- html ignored --></blockquote>
</body></html>