Regular expression problem

  • Thread starter Thread starter dmalhotr2001
  • Start date Start date
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
 
(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\_]*
 
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]
 
Back
Top