<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-28416661.post608664000283839823..comments</id><updated>2011-11-15T09:54:48.104-06:00</updated><category term='Stock'/><category term='Bridge'/><category term='Creative Cloud'/><category term='Fonts'/><category term='ePub'/><category term='Acrobat'/><category term='InDesign'/><category term='Photography'/><category term='Adobe AIR'/><category term='Design'/><category term='XML'/><category term='Apple'/><category term='Dreamweaver'/><category term='Adobe Digital Publishing Suite'/><category term='Photoshop'/><category term='Web design'/><category term='Scripting'/><category term='Flash'/><category term='Color'/><category term='GREP'/><category term='After Effects'/><category term='Hardware'/><category term='Adobe Corporation'/><category term='Typography'/><category term='InCopy'/><category term='iPad'/><category term='Events'/><category term='Illustrator'/><title type='text'>Comments on Tips &amp;amp; Techniques: Use GREP to find URL's</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.gilbertconsulting.com/feeds/608664000283839823/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html'/><author><name>Keith Gilbert</name><uri>http://www.blogger.com/profile/17639216496820581739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/_f--g3whFLbk/SRM69NPOizI/AAAAAAAAAIs/QPbEghFGGig/S220/head-shot-bw.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28416661.post-1165739059442368103</id><published>2011-06-27T08:55:43.111-05:00</published><updated>2011-06-27T08:55:43.111-05:00</updated><title type='text'>@Anonymous: The reason that this GREP string finds...</title><content type='html'>@Anonymous: The reason that this GREP string finds &amp;quot;www.testsite.nl&amp;quot; even though .nl isn&amp;#39;t referenced in the GREP is this:&lt;br /&gt;&lt;br /&gt;The GREP is saying &amp;quot;look for 1 or more consecutive non-whitespace characters preceeded by http, ftp, or www&lt;br /&gt;&lt;br /&gt;OR &lt;br /&gt;&lt;br /&gt;1 or more consecutive non-whitespace characters followed by .gov, .us, .net, .com, .edu, .org, or .biz&amp;quot;&lt;br /&gt;&lt;br /&gt;It&amp;#39;s written this way to try to accommodate a wide variety of urls.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/1165739059442368103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/1165739059442368103'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1309182943111#c1165739059442368103' title=''/><author><name>Keith Gilbert</name><uri>http://www.blogger.com/profile/17639216496820581739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/_f--g3whFLbk/SRM69NPOizI/AAAAAAAAAIs/QPbEghFGGig/S220/head-shot-bw.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1558702649'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-7800534268088019611</id><published>2011-06-23T06:10:16.117-05:00</published><updated>2011-06-23T06:10:16.117-05:00</updated><title type='text'>Don&amp;#39;t no much about grapes but how come this g...</title><content type='html'>Don&amp;#39;t no much about grapes but how come this grep also finds URLs like www.testsite.nl? So ending in &amp;#39;.nl&amp;#39;?&lt;br /&gt;&lt;br /&gt;(?i)(http|ftp|www)(\S+)|(\S+) (\.gov|\.us|\.net|\.com|\.edu|\.org|\.biz)&lt;br /&gt;&lt;br /&gt;I looks like it only should find URLS ending with .gov, .us .net etc. But I&amp;#39;m probably reading it wrong? ;-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/7800534268088019611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/7800534268088019611'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1308827416117#c7800534268088019611' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1424864379'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-8024742692370120255</id><published>2011-01-05T18:51:13.830-06:00</published><updated>2011-01-05T18:51:13.830-06:00</updated><title type='text'>I&amp;#39;ve been working at it for a while and don&amp;#3...</title><content type='html'>I&amp;#39;ve been working at it for a while and don&amp;#39;t understand all of it, but this one works great and leaves out the periods at the end. The only hitch I&amp;#39;ve found is that it also picks up email addresses since it&amp;#39;s essentially looking for &amp;quot;.com&amp;quot; or &amp;quot;.org&amp;quot; etc and catching anything attached.&lt;br /&gt;&lt;br /&gt;\S*?(\.org|\.com|\.net|\.edu|\.us|\.gov|\.biz)+\S*\&amp;gt;/?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/8024742692370120255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/8024742692370120255'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1294275073830#c8024742692370120255' title=''/><author><name>sampletheworld</name><uri>http://www.blogger.com/profile/11479465563671980135</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_2vCO0FMZNoM/TLe-aoSRhgI/AAAAAAAAAAQ/VRelZGEnbPE/S220/3DaysintheWild.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-876941804'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-5104703361497464094</id><published>2010-10-17T16:01:55.663-05:00</published><updated>2010-10-17T16:01:55.663-05:00</updated><title type='text'>Hi, thank you so much for this article, and all th...</title><content type='html'>Hi, thank you so much for this article, and all the useful comments! &lt;br /&gt;I&amp;#39;m a complete novice, I found out about GREP yesterday, so bear with me if my modifications are crude, but these seem to work:&lt;br /&gt;&lt;br /&gt;url-GREP (finish with a letter or digit)&lt;br /&gt;(?i)(http|ftp|www)\S+[\l\u|\d]&lt;br /&gt;&lt;br /&gt;e-mail-GREP (finish with a letter)&lt;br /&gt;[\S]+[@][\S]+[\l]</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/5104703361497464094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/5104703361497464094'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1287349315663#c5104703361497464094' title=''/><author><name>Halvor</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1878836872'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-6889623135052180070</id><published>2010-06-25T17:12:18.767-05:00</published><updated>2010-06-25T17:12:18.767-05:00</updated><title type='text'>@Claidheamdanns: I&amp;#39;ve put the period at the en...</title><content type='html'>@Claidheamdanns: I&amp;#39;ve put the period at the end of the sentence issue on my list of things to look into when I have a minute. If I find a solution I&amp;#39;ll create a new blog post about it. Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/6889623135052180070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/6889623135052180070'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1277503938767#c6889623135052180070' title=''/><author><name>Keith Gilbert</name><uri>http://www.blogger.com/profile/17639216496820581739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/_f--g3whFLbk/SRM69NPOizI/AAAAAAAAAIs/QPbEghFGGig/S220/head-shot-bw.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1558702649'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-8740699204310042157</id><published>2010-06-25T17:06:47.748-05:00</published><updated>2010-06-25T17:06:47.748-05:00</updated><title type='text'>Yes, that&amp;#39;s true. And that alone is a great re...</title><content type='html'>Yes, that&amp;#39;s true. And that alone is a great reason to upgrade. I&amp;#39;m spoiled at work. At home I am still on CS3, and I miss all these good features. Work that used to literally take 2 hours before can now be done in 5 minutes or less (no exaggeration).&lt;br /&gt;&lt;br /&gt;Have you figured out a way to get the URLs to exclude the period when they fall at the end of a sentence? That would be very helpful for a piece we are working on.&lt;br /&gt;&lt;br /&gt;Thanks for your tips on here. Very helpful!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/8740699204310042157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/8740699204310042157'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1277503607748#c8740699204310042157' title=''/><author><name>Claidheamdanns</name><uri>http://www.blogger.com/profile/10406116494193310872</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://sterlingstudiosinc.com/Storage/Avatars/Claidheamdanns_147-200.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1299415068'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-2397356684301031606</id><published>2010-06-25T17:01:41.621-05:00</published><updated>2010-06-25T17:01:41.621-05:00</updated><title type='text'>@Claidheamdanns: I&amp;#39;m glad you found the GREP e...</title><content type='html'>@Claidheamdanns: I&amp;#39;m glad you found the GREP examples useful. Yes indeed, GREP styles are wonderful! The original blog post was written &amp;quot;way back in the old days&amp;quot; before GREP styles existed (they made their debut in CS4.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2397356684301031606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2397356684301031606'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1277503301621#c2397356684301031606' title=''/><author><name>Keith Gilbert</name><uri>http://www.blogger.com/profile/17639216496820581739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/_f--g3whFLbk/SRM69NPOizI/AAAAAAAAAIs/QPbEghFGGig/S220/head-shot-bw.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1558702649'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-3879878173993402040</id><published>2010-06-25T16:59:02.526-05:00</published><updated>2010-06-25T16:59:02.526-05:00</updated><title type='text'>BTW, thanks Keith. I&amp;#39;ve been puzzling over thi...</title><content type='html'>BTW, thanks Keith. I&amp;#39;ve been puzzling over this URL one for about a week now, trying to find the right combo of code to get it all.&lt;br /&gt;&lt;br /&gt;Another awesome way to use this, rather than as a find and replace, use it as a GREP style in the paragraph style(s) used in the document. For instance, a Character style to make the font blue, and underlined, can be automatically applied via GREP within the Paragraph style, so that emails and URLs are automatically formatted as they are typed or added to the document.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/3879878173993402040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/3879878173993402040'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1277503142526#c3879878173993402040' title=''/><author><name>Claidheamdanns</name><uri>http://www.blogger.com/profile/10406116494193310872</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://sterlingstudiosinc.com/Storage/Avatars/Claidheamdanns_147-200.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1299415068'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-1878786422861706332</id><published>2010-06-25T16:54:33.921-05:00</published><updated>2010-06-25T16:54:33.921-05:00</updated><title type='text'>Interestingly, Keith&amp;#39;s email address search do...</title><content type='html'>Interestingly, Keith&amp;#39;s email address search does end up (correctly) missing the period at the end of a sentence, even if the last thing in the sentence is an email address.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/1878786422861706332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/1878786422861706332'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1277502873921#c1878786422861706332' title=''/><author><name>Claidheamdanns</name><uri>http://www.blogger.com/profile/10406116494193310872</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://sterlingstudiosinc.com/Storage/Avatars/Claidheamdanns_147-200.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1299415068'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-2711278113318657412</id><published>2010-06-25T16:51:29.357-05:00</published><updated>2010-06-25T16:51:29.357-05:00</updated><title type='text'>Anon, your expression misses some URLs that were c...</title><content type='html'>Anon, your expression misses some URLs that were caught by Keith&amp;#39;s, for instance: http://www.website.com/links</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2711278113318657412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2711278113318657412'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1277502689357#c2711278113318657412' title=''/><author><name>Claidheamdanns</name><uri>http://www.blogger.com/profile/10406116494193310872</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://sterlingstudiosinc.com/Storage/Avatars/Claidheamdanns_147-200.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1299415068'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-6101834686080755659</id><published>2010-03-28T18:00:19.241-05:00</published><updated>2010-03-28T18:00:19.241-05:00</updated><title type='text'>WOW -- both the Emails and URL GREP  were perfect!...</title><content type='html'>WOW -- both the Emails and URL GREP  were perfect!! THANK YOU THANK YOU!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/6101834686080755659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/6101834686080755659'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1269817219241#c6101834686080755659' title=''/><author><name>Colleen</name><uri>http://www.blogger.com/profile/17538501661994445934</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1818978322'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-2366765998986264239</id><published>2008-11-27T07:35:00.000-06:00</published><updated>2008-11-27T07:35:00.000-06:00</updated><title type='text'>yay for Anon, that's the one!&lt;br&gt;&lt;br&gt;cheers fella</title><content type='html'>yay for Anon, that's the one!&lt;BR/&gt;&lt;BR/&gt;cheers fella</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2366765998986264239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2366765998986264239'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1227792900000#c2366765998986264239' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1612372575'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-1155959491592016744</id><published>2008-08-11T22:22:00.000-05:00</published><updated>2008-08-11T22:22:00.000-05:00</updated><title type='text'>Try this modification:&lt;br&gt;&lt;br&gt;(?i)(http|ftp|www)(\...</title><content type='html'>Try this modification:&lt;BR/&gt;&lt;BR/&gt;(?i)(http|ftp|www)(\S+)(\.\l{2,4})|(\S+)(\.\l{2,4})</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/1155959491592016744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/1155959491592016744'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1218511320000#c1155959491592016744' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1202822009'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-8043662370385720404</id><published>2007-10-08T15:03:00.000-05:00</published><updated>2007-10-08T15:03:00.000-05:00</updated><title type='text'>This comment thread illustrates how tricky it can ...</title><content type='html'>This comment thread illustrates how tricky it can be to set up "bulletproof" GREP searches. Oftentimes, a GREP string can be hammered out quickly that will solve 95% of one's needs. But to get it bulletproof so that each and every exception is considered can take a LOT more development time. This also illustrates that there is more than one way to skin a cat when it comes to GREP.&lt;BR/&gt;&lt;BR/&gt;Sometime when I have a chance, I'll revisit the URL GREP search and see if I can't fine-tune it a bit.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/8043662370385720404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/8043662370385720404'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1191873780000#c8043662370385720404' title=''/><author><name>Keith Gilbert</name><uri>http://www.blogger.com/profile/17639216496820581739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://gilbertconsulting.com/images/Head-shot-for-web.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1558702649'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-2687234726939695509</id><published>2007-10-05T10:01:00.000-05:00</published><updated>2007-10-05T10:01:00.000-05:00</updated><title type='text'>Thanks. The email GREP works great. &lt;br&gt;&lt;br&gt;I'm fi...</title><content type='html'>Thanks. The email GREP works great. &lt;BR/&gt;&lt;BR/&gt;I'm finding that the URL GREP sometimes grabs too much, like a period at the end of a URL at the end of a sentence.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2687234726939695509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2687234726939695509'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1191596460000#c2687234726939695509' title=''/><author><name>Eric</name><uri>http://www.blogger.com/profile/15891820799916762139</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-973044053'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-6794595785469381128</id><published>2007-10-04T16:13:00.000-05:00</published><updated>2007-10-04T16:13:00.000-05:00</updated><title type='text'>I found the following GREP string to catch more ad...</title><content type='html'>I found the following GREP string to catch more addresses variations:&lt;BR/&gt;&lt;BR/&gt;[\S]+[.][\S]+&lt;BR/&gt;&lt;BR/&gt;It will even pickup formats that do not have a standard prefixes, for example:&lt;BR/&gt;&lt;BR/&gt;w3.adobe.com&lt;BR/&gt;adobe.com&lt;BR/&gt;&lt;BR/&gt;However, the problem is that it will also pickup any string that includes periods with the obvious culprits being email addresses, for example:&lt;BR/&gt;&lt;BR/&gt;john.doe@adobe.com&lt;BR/&gt;jdoe@adobe.com&lt;BR/&gt;&lt;BR/&gt;I still haven't been able to figure out the negative/positive lookahead/lookbehind metacharacters to omit instances that include the "@" symbol.&lt;BR/&gt;&lt;BR/&gt;As a workaround, I usually set up a character style (sometimes only defining it and not applying any ovverides to it) and utilize it to tag the email addresses using the following GREP string:&lt;BR/&gt;&lt;BR/&gt;[\S]+[@][\S]+&lt;BR/&gt;&lt;BR/&gt;I perform the "Email Address" find/change to apply the charcter style first. I follow this up with the "Web Address" find/change which only picks up strings that have NOT had any character styles applied, hence leaving the formatted addresses alone.&lt;BR/&gt;&lt;BR/&gt;Any ideas on how to make this easier?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/6794595785469381128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/6794595785469381128'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1191532380000#c6794595785469381128' title=''/><author><name>crazymodo</name><uri>http://www.blogger.com/profile/16870564971140334645</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1057540312'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-2641472846876384797</id><published>2007-10-03T11:50:00.000-05:00</published><updated>2007-10-03T11:50:00.000-05:00</updated><title type='text'>Eric, here is a "Find What" string for email addre...</title><content type='html'>Eric, here is a "Find What" string for email addresses that I picked up somewhere. Hopefully this will work for you.&lt;BR/&gt;&lt;BR/&gt;[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2641472846876384797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/2641472846876384797'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1191430200000#c2641472846876384797' title=''/><author><name>Keith Gilbert</name><uri>http://www.blogger.com/profile/17639216496820581739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://gilbertconsulting.com/images/Head-shot-for-web.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1558702649'/></entry><entry><id>tag:blogger.com,1999:blog-28416661.post-3643473946298726248</id><published>2007-10-02T21:30:00.000-05:00</published><updated>2007-10-02T21:30:00.000-05:00</updated><title type='text'>This is great. Just what I needed to add links to ...</title><content type='html'>This is great. Just what I needed to add links to a PDF I'm creating. &lt;BR/&gt;&lt;BR/&gt;Do you have a similar GREP for email addresses?&lt;BR/&gt;&lt;BR/&gt;Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/3643473946298726248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28416661/608664000283839823/comments/default/3643473946298726248'/><link rel='alternate' type='text/html' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html?showComment=1191378600000#c3643473946298726248' title=''/><author><name>Eric</name><uri>http://www.blogger.com/profile/15891820799916762139</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.gilbertconsulting.com/2007/10/use-grep-to-find-url.html' ref='tag:blogger.com,1999:blog-28416661.post-608664000283839823' source='http://www.blogger.com/feeds/28416661/posts/default/608664000283839823' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-973044053'/></entry></feed>
