<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}

.ExternalClass span.ecxEmailStyle18 {
font-family:"Arimo","sans-serif";
font-variant:normal !important;
color:#404040;
text-transform:none;
top:0pt;
letter-spacing:0pt;
text-shadow:none;
font-weight:normal;
font-style:normal;
vertical-align:baseline;
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style>


<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;" lang="EN-US">Adam Hollett</span></p>
<p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#F8991D;" lang="EN-US">Customer Documentation</span></p>
<p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#005DAB;" lang="EN-US">Solace Systems</span></p>
<p class="ecxMsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#007BE0;" lang="EN-US">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"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";" lang="EN-US"> framers-bounces@lists.frameusers.com [mailto:framers-bounces@lists.frameusers.com]
<b>On Behalf Of </b>Craig Ede<br>
<b>Sent:</b> March-23-15 3:31 PM<br>
<b>To:</b> framers<br>
<b>Subject:</b> removing space at the end of line</span></p>
</div>
</div>
<p class="ecxMsoNormal"> </p>
<div>
<p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">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></body>
</html>