Article View: adobe.incopy.macintosh
Article #144Re: InCopy GREP: how can I search for a single space after a sentence?
From: Anne-Marie Concepcion
Date: Mon, 26 Jan 2009 18:28
Date: Mon, 26 Jan 2009 18:28
13 lines
1068 bytes
1068 bytes
Also ... if you want to find a single space following a period, a question mark, or an exclamation point, you could use this: ([\.?!] )(\S) That first group in brackets finds: a period, or a question mark, or an exclamation point following the bracketed group is a single space (tap on the spacebar) So the first found set -- $1 -- is: a single space after a period, question mark, or an exclamation point. AM
Technical Details
Message-ID:
<59b7ad05.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7ad05.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe22,c47ab0c77660dd31 X-Google-Attributes: gid1efe22,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Anne-Marie Concepcion" <mylists@senecadesign.com> Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.incopy.macintosh Subject: Re: InCopy GREP: how can I search for a single space after a sentence? Message-ID: <59b7ad05.1@webcrossing.la2eafNXanI> Date: Mon, 26 Jan 2009 10:28:53 -0800 References: <59b7ad05.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit