For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > April 2006 > regular expression









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author regular expression
Ben

2006-04-29, 6:56 pm

I am trying to validate a textbox in which the user enters the following -
"smtp.servername.com|net|org|etc... and I cannot. I have tried. The string is
in the form xxxxx.xxxxxxx.xxx. Does anyone have any idea how to validate this
string.
I have tried "^(?<user>[^@]+)\.(?<host>.+)$" as well as many others with no
success.
VB2005
Jeff Johnson

2006-04-30, 3:56 am


"Ben" <Ben@discussions.microsoft.com> wrote in message
news:5A629856-5896-4F88-99EB-CCD86B981B75@microsoft.com...

> VB2005


This is a VB "classic" newsgroup. Questions about VB.NET (including VB 2005,
which has dropped .NET from its name) are off-topic here.

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsoft.com.


Ben

2006-04-30, 6:56 pm

will do

"Jeff Johnson" wrote:

>
> "Ben" <Ben@discussions.microsoft.com> wrote in message
> news:5A629856-5896-4F88-99EB-CCD86B981B75@microsoft.com...
>
>
> This is a VB "classic" newsgroup. Questions about VB.NET (including VB 2005,
> which has dropped .NET from its name) are off-topic here.
>
> Please ask .NET questions in newsgroups with "dotnet" in their names. The
> *.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
> groups on your news server, connect directly to the Microsoft server:
> msnews.microsoft.com.
>
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com