<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: GREP and Text Metacharacter Cheat Sheet</title>
	<atom:link href="http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/feed" rel="self" type="application/rss+xml" />
	<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php</link>
	<description>InDesignSecrets Blog and Podcast</description>
	<lastBuildDate>Wed, 23 May 2012 23:34:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Martin Fischer</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-467078</link>
		<dc:creator>Martin Fischer</dc:creator>
		<pubDate>Wed, 30 Jul 2008 06:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-467078</guid>
		<description>GREP with it&#039;s wildcards would be very fine, if it would work without the known errors.

You know, wildcard-searches under Windows will find other things than on Mac (e.g. \s \w \l \u \d).

Posix [[:alnum:]] should be equivalent to [a-zA-Z0-9] and only find ASCII-characters, shouldn&#039;t it? (http://www.regular-expressions.info/posixbrackets.html) But [[:alnum:]] will find non-ASCII-characters like Umlauts (äöü) or ? too. Under Win it will find ß and ligatures like ? and ? or œ (but not on a Mac).

If you are interested in what wildcards will find in InDesign under Win and on a Mac take a look at Gerald Singelmanns overview in http://indesign-faq.de/index.php/was-bedeuten-die-grep-wildcards-im-detail/

There you will find a PDF: http://www.indesign-faq.de/wp-content/uploads/2008/04/grep-wildcards.zip

Hope GREP wildcards will do their job better and equal under Win and on Mac in future releases of InDesign.

Martin Fischer</description>
		<content:encoded><![CDATA[<p>GREP with it&#8217;s wildcards would be very fine, if it would work without the known errors.</p>
<p>You know, wildcard-searches under Windows will find other things than on Mac (e.g. \s \w \l \u \d).</p>
<p>Posix [[:alnum:]] should be equivalent to [a-zA-Z0-9] and only find ASCII-characters, shouldn&#8217;t it? (<a href="http://www.regular-expressions.info/posixbrackets.html" rel="nofollow">http://www.regular-expressions.info/posixbrackets.html</a>) But [[:alnum:]] will find non-ASCII-characters like Umlauts (äöü) or ? too. Under Win it will find ß and ligatures like ? and ? or œ (but not on a Mac).</p>
<p>If you are interested in what wildcards will find in InDesign under Win and on a Mac take a look at Gerald Singelmanns overview in <a href="http://indesign-faq.de/index.php/was-bedeuten-die-grep-wildcards-im-detail/" rel="nofollow">http://indesign-faq.de/index.php/was-bedeuten-die-grep-wildcards-im-detail/</a></p>
<p>There you will find a PDF: <a href="http://www.indesign-faq.de/wp-content/uploads/2008/04/grep-wildcards.zip" rel="nofollow">http://www.indesign-faq.de/wp-content/uploads/2008/04/grep-wildcards.zip</a></p>
<p>Hope GREP wildcards will do their job better and equal under Win and on Mac in future releases of InDesign.</p>
<p>Martin Fischer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carsten Pihl</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-467077</link>
		<dc:creator>Carsten Pihl</dc:creator>
		<pubDate>Wed, 30 Jul 2008 06:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-467077</guid>
		<description>Since we still use CS2 (sic), anyone nows if the text-metacharachters work with cs2? 

Nice to use in the find/change script that I use a lot.</description>
		<content:encoded><![CDATA[<p>Since we still use CS2 (sic), anyone nows if the text-metacharachters work with cs2? </p>
<p>Nice to use in the find/change script that I use a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnny</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-467010</link>
		<dc:creator>johnny</dc:creator>
		<pubDate>Mon, 28 Jul 2008 14:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-467010</guid>
		<description>this program is something like a science lab for people who really love GREP its currentlly PC only but it basically allows you you to PROGRAM and TEST any regex (aka GREP) search strings

http://www.regexbuddy.com/download.html</description>
		<content:encoded><![CDATA[<p>this program is something like a science lab for people who really love GREP its currentlly PC only but it basically allows you you to PROGRAM and TEST any regex (aka GREP) search strings</p>
<p><a href="http://www.regexbuddy.com/download.html" rel="nofollow">http://www.regexbuddy.com/download.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466993</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Sun, 27 Jul 2008 12:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466993</guid>
		<description>Thanks for the tip David. My find code wasnt nearly as elaborate as the Adobe one. Who would&#039;ve thought &lt;code&gt;[~m~&gt;~f~&#124;~S~s~&lt;~/~,~3~4~% ]{2,}&lt;/code&gt; could save you so much time</description>
		<content:encoded><![CDATA[<p>Thanks for the tip David. My find code wasnt nearly as elaborate as the Adobe one. Who would&#8217;ve thought <code>[~m~&gt;~f~|~S~s~&lt;~/~,~3~4~% ]{2,}</code> could save you so much time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Bretschneider</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466956</link>
		<dc:creator>Steve Bretschneider</dc:creator>
		<pubDate>Fri, 25 Jul 2008 15:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466956</guid>
		<description>I should add that TEX-EDIT PLUS is, for the present, a Mac-only application.</description>
		<content:encoded><![CDATA[<p>I should add that TEX-EDIT PLUS is, for the present, a Mac-only application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Bretschneider</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466955</link>
		<dc:creator>Steve Bretschneider</dc:creator>
		<pubDate>Fri, 25 Jul 2008 15:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466955</guid>
		<description>For anyone interested in doing their “GREPPING” outside of InDesign (who would want to do anything outside of InDesign?), there is a terrific shareware app called TEX-EDIT PLUS by Tom Bender. 

I’ve used it for years to clean up text before pouring it into InDesign. It’s &lt;i&gt;Cleanup Document&lt;/i&gt; tool has options to strip carriage returns/line feeds; leading &amp; trailing spaces; replace multiple spaces with tabs; and a lot more.

But the really great feature is it’s &lt;i&gt;Find &amp; Replace&lt;/i&gt; which allows GREP searches and has a pull-down with a couple of dozen prebuilt searches.

I love the GREP feature in InDesign, but it’s nice to have an optional stand-alone application in your toolbox.

Steve</description>
		<content:encoded><![CDATA[<p>For anyone interested in doing their “GREPPING” outside of InDesign (who would want to do anything outside of InDesign?), there is a terrific shareware app called TEX-EDIT PLUS by Tom Bender. </p>
<p>I’ve used it for years to clean up text before pouring it into InDesign. It’s <i>Cleanup Document</i> tool has options to strip carriage returns/line feeds; leading &amp; trailing spaces; replace multiple spaces with tabs; and a lot more.</p>
<p>But the really great feature is it’s <i>Find &amp; Replace</i> which allows GREP searches and has a pull-down with a couple of dozen prebuilt searches.</p>
<p>I love the GREP feature in InDesign, but it’s nice to have an optional stand-alone application in your toolbox.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene Tyson</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466951</link>
		<dc:creator>Eugene Tyson</dc:creator>
		<pubDate>Fri, 25 Jul 2008 13:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466951</guid>
		<description>David, no problem about the code thing.

This is the link to the find between that could help 

http://indesignsecrets.com/findbetween-a-useful-grep-string.php</description>
		<content:encoded><![CDATA[<p>David, no problem about the code thing.</p>
<p>This is the link to the find between that could help </p>
<p><a href="http://indesignsecrets.com/findbetween-a-useful-grep-string.php" rel="nofollow">http://indesignsecrets.com/findbetween-a-useful-grep-string.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blatner</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466949</link>
		<dc:creator>David Blatner</dc:creator>
		<pubDate>Fri, 25 Jul 2008 12:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466949</guid>
		<description>@Eugene: Sorry about the code hassles. Yes, typing code into this site is tricky.

@Dave: If you&#039;re using an OpenType font, you should check to see if it supports ordinals. For example, in Myriad Pro, you can just apply the Ordinal opentype formatting to the whole word &quot;No&quot; and it will format the &quot;o&quot; the way you want. Same with Garamond Premier Pro. But other fonts aren&#039;t as helpful. In Minion Pro, both the N and the O are superscripted. Weird.</description>
		<content:encoded><![CDATA[<p>@Eugene: Sorry about the code hassles. Yes, typing code into this site is tricky.</p>
<p>@Dave: If you&#8217;re using an OpenType font, you should check to see if it supports ordinals. For example, in Myriad Pro, you can just apply the Ordinal opentype formatting to the whole word &#8220;No&#8221; and it will format the &#8220;o&#8221; the way you want. Same with Garamond Premier Pro. But other fonts aren&#8217;t as helpful. In Minion Pro, both the N and the O are superscripted. Weird.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466936</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Fri, 25 Jul 2008 07:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466936</guid>
		<description>Ok tried to edit the above post and it lost all my grep stuff, even when wrapped in code so...

(?&lt;=N)o(?=\s )


Will find all the &quot;o&quot; between a N and a space

If a digit comes after the o then replace the \s with \d

or if it&#039;s a space and a digit then put in \s\d</description>
		<content:encoded><![CDATA[<p>Ok tried to edit the above post and it lost all my grep stuff, even when wrapped in code so&#8230;</p>
<p>(?&lt;=N)o(?=\s )</p>
<p>Will find all the &#8220;o&#8221; between a N and a space</p>
<p>If a digit comes after the o then replace the \s with \d</p>
<p>or if it&#8217;s a space and a digit then put in \s\d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://indesignsecrets.com/grep-and-text-metacharacter-cheat-sheet.php/comment-page-1#comment-466934</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Fri, 25 Jul 2008 07:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=1839#comment-466934</guid>
		<description>Depends on whether a space comes after the o or a figure. I&#039;m not sure what way it works there.

You need to find &quot;No&quot; but not include the N in the find.

To do this you need to do a positive lookbehind.


This GREP will find a &quot;o&quot; inbetween the N and a space
&lt;code&gt;

This one is for  between an N and a space and a digit e.g., No 1
&lt;code&gt;

&lt;code&gt;

All yo have to do then is change the format to superscript, only the o will be affected.

You just have to figure out what comes in before the o and include it after the equals in this

(?&lt;=)

And find out what comes after the o in No and insert it after the equals in this

(?=)

Whatever you put in the middle of the two of the above is what will be actually found.

I think Anne-Marie thought me that in another post on this site. Probably better explained too.</description>
		<content:encoded><![CDATA[<p>Depends on whether a space comes after the o or a figure. I&#8217;m not sure what way it works there.</p>
<p>You need to find &#8220;No&#8221; but not include the N in the find.</p>
<p>To do this you need to do a positive lookbehind.</p>
<p>This GREP will find a &#8220;o&#8221; inbetween the N and a space<br />
<code></p>
<p>This one is for  between an N and a space and a digit e.g., No 1<br />
</code><code></p>
<p></code><code></p>
<p>All yo have to do then is change the format to superscript, only the o will be affected.</p>
<p>You just have to figure out what comes in before the o and include it after the equals in this</p>
<p>(?&lt;=)</p>
<p>And find out what comes after the o in No and insert it after the equals in this</p>
<p>(?=)</p>
<p>Whatever you put in the middle of the two of the above is what will be actually found.</p>
<p>I think Anne-Marie thought me that in another post on this site. Probably better explained too.</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching using disk

Served from: indesignsecrets.com @ 2012-05-24 01:36:35 -->
