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:
WebCat2b15MacPlugin - [protect] (1997)
Database Updates (1997)
$Quit, $CloseDatabase corrections (1997)
rotating thumbnails (1997)
PIXO support (1997)
Symantec VIsual Page 1.0.3 (1997)
Re:no [search] with NT (1997)
WCS Newbie question (1997)
$flushdatabases question ... (1998)
searchable list archive (1997)
[OT] DOD again (2003)
Crashing Server (2000)
ReturnRaw (1999)
Protect and Serve (1999)
[WebDNA] An unknown error occured // Deadlock avoided (2011)
first time using webcats sendmail option (2001)
Re:Emailer and encryption (1997)
WebSTAR 2.1 freezes my Mac (1997)
my price won't move (1997)
Unexpected comparison behavior change in 4.5.1 (2003)