Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Juana Fisher   on Jan 08 In Asp.net Category.

  
Question Answered By: Becky Baker   on Jan 08

give this regex a shot:

myRegEx = New Regex("^[^\d*](\w)*")

you need to put the [^\d*] in there to tell it that you don't want digits to
start out with. it'll let digits pass through after the first nondigit
char.

Share: