Nothing else but Regex for matching the string.

Posted by Harikrishna on Stack Overflow See other posts from Stack Overflow or by Harikrishna
Published on 2010-05-01T04:51:03Z Indexed on 2010/05/01 4:57 UTC
Read the original article Hit count: 466

Filed under:
|
|
|

I want to check whether there is string starting from number and then optional character with the help of the regex.So what should be the regex for matching the string which must be started with number and then character might be there or not.Like there is string "30a" or "30" it should be matched.But if there is "a" or some else character or sereis of characters, string should not be matched.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET