🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1228

Re: it can not search the text with Grep, what's wronge with my code?

#1228
From: rhariharasudhan05
Date: Mon, 16 Feb 2009 07:02
16 lines
1102 bytes
Dear robin521,

I saw your code, and below I have to change the code

Your code :
//Regular expression for finding an email address.
app.findGrepPreferences.findWhat = "[^A-Za-z0-9/.-]+";

Change Code:
//Regular expression for finding an email address.
app.findGrepPreferences.findWhat = [A-Za-z0-9._%-]+@(?:[A-Za-z0-9-]+\.)+([A-Za-z]*)

Please use the above code and get correct answers, Let me know if you have any queries.

Thanks & Regards
T.R.Harihara SudhaN
Technical Details
Message-ID: <59b7f00d.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7f00d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,72cfdd46072287ca
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: rhariharasudhan05@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: it can not search the text with Grep,
 what's wronge with my code?
Message-ID: <59b7f00d.0@webcrossing.la2eafNXanI>
Date: Sun, 15 Feb 2009 23:02:48 -0800
References: <59b7f00d.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit