Re: Grep help
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57950
interpreted = N
texte = Here's my grep code from a javascript to check an email:^([a-zA-Z0-9\_\.\-]{2,})+@+([a-zA-Z0-9\.\-])+\.+([a-zA-Z]{2,})+$On 5/19/04 6:16 PM, "Rajeev Kumar"
wrote:> [grep search=[-aA-zZ0-9_.]+@[-aA-zZ0-9.]+&replace=]> > Just trying to check if an Emails format is correct. Running WebDNA 6.> > > ----- Original Message -----> From: "John Peacock" > To: "WebDNA Talk" > Sent: Wednesday, May 19, 2004 7:52 PM> Subject: Re: Grep help> > >> Rajeev Kumar wrote:>>> What character represents 1 or more of the previous character? In BBEdit it>>> is +, but that does not seem to work with WebDNA. Or do i have to bodge it>>> like this? [0-9][0-9]*>> >> It should be + for 1 or more; show us your code (and tell us what version of>> WebDNA you are running).>> >> John-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Here's my grep code from a javascript to check an email:^([a-zA-Z0-9\_\.\-]{2,})+@+([a-zA-Z0-9\.\-])+\.+([a-zA-Z]{2,})+$On 5/19/04 6:16 PM, "Rajeev Kumar" wrote:> [grep search=[-aA-zZ0-9_.]+@[-aA-zZ0-9.]+&replace=]> > Just trying to check if an Emails format is correct. Running WebDNA 6.> > > ----- Original Message -----> From: "John Peacock" > To: "WebDNA Talk" > Sent: Wednesday, May 19, 2004 7:52 PM> Subject: Re: Grep help> > >> Rajeev Kumar wrote:>>> What character represents 1 or more of the previous character? In BBEdit it>>> is +, but that does not seem to work with WebDNA. Or do i have to bodge it>>> like this? [0-9][0-9]*>> >> It should be + for 1 or more; show us your code (and tell us what version of>> WebDNA you are running).>> >> John-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2 Append problem (B14Macacgi) (1997)
[OT] .php3 extension (2000)
Is it possible to pause or wait a process (2000)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
WC2b15 File Corruption (1997)
request for comment tag (1998)
List Address Changed! (1998)
SET (1998)
[shownext max=?] armed (1997)
Dr. Watson Error (1998)
WebCat hosting providers? (1997)
b12 cannot limit records returned and more. (1997)
WebDNA Solutions ... sorry! (1997)
Plugin or CGI or both (1997)
Re:quit command on NT (1997)
F3 crashing server (1997)
Pithy questions on webcommerce & siteedit (1997)
PCS Frames-Default page is solution! (1997)
Nested tags count question (1997)
date (1999)