🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.incopy.macintosh
Article #141

Re: InCopy GREP: how can I search for a single space after a sentence?

#141
From: Anne-Marie Concepcion
Date: Mon, 26 Jan 2009 18:02
16 lines
1227 bytes
In Find, in the GREP area, you need to enter

Find What: \. \S

backslash-period = find a period
tap the spacebar for a space ...there's a space after the period above
backslash-cap S = not whitespace

If you want to change it to two spaces after a period, group the Find expression so you can replace the Found text in the Change to field.

Find What: (\. )(\S)
Change To: $1 $2

(I added a space after $1 so IC adds a second space after the period)

AM
Technical Details
Message-ID: <59b7ad05.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <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!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.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.0@webcrossing.la2eafNXanI>
Date: Mon, 26 Jan 2009 10:02:29 -0800
References: <59b7ad05.-1@webcrossing.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit