![]() |
| |||||||
![]() | « Previous Thread | Next Thread » |
| | LinkBack (1) | Thread Tools | Display Modes |
| Sponsored Links |
| ||||
| You can use the following expression: ^\d{1}[A]{2}\d{3}$ You can use it like this C# code sample: Code: if (Regex.IsMatch(YourInputString, "^\\d{1}[A]{2}\\d{3}$"))
Response.Write("pass");
else
Response.Write("fail");
__________________ ................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared If you found a post helpful, please click the 'Thanks' button in the lower right-hand corner of the post. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Common Regular Expressions | jmurrayhead | .Net Development | 0 | April 21st, 2008 11:34 AM |
LinkBacks (?)
LinkBack to this Thread: http://www.developerbarn.com/net-development/137-regular-expressions-c.html | ||||
| Posted By | For | Type | Date | |
| Regular Expressions in C#... - .Net Development | This thread | Refback | April 19th, 2008 07:49 PM | |
| Sponsored Links |
| ASP.NET Resource Index a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer. Free Web Directory Including Chats and Forums Resources, Offer automatic, instant and free directory submissions. | URLZ Web Directory URLZ Web Directory Free Web Directory - Add Your Link The Little Web Directory | Free Web Directory Pegasus free web directory is a free directory organised by categories. Web Directory & SEO Services dirroot web directory |