Regular expression problem

D

dmalhotr2001

Hi,

I would like to know how to write regular expression in vb.net that
would be valid for a piece of text that is only numbers, letters,
dashes, and underscores that is allowed.

Thanks

:D
 
G

Guest

(e-mail address removed) wrote in @e6g2000prf.googlegroups.com:
Hi,

I would like to know how to write regular expression in vb.net that
would be valid for a piece of text that is only numbers, letters,
dashes, and underscores that is allowed.


[A-Za-z0-9\_]*
 
R

rowe_newsgroups

Hi,

I would like to know how to write regular expression in vb.net that
would be valid for a piece of text that is only numbers, letters,
dashes, and underscores that is allowed.

Thanks

:D

One extremely useful resource for composing regular expressions is
Expresso. It's helps me out a ton whenever I have to use Regex.

Check it out at:

http://www.ultrapico.com/Expresso.htm

Thanks,

Seth Rowe [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top