Click here to Skip to main content
11,932,402 members (54,155 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET web-dev
A regular expression is working in EXPRESSO environment but not in the coding why?
the following expressions gives accurate result while in EXPRESSO environment but when i use it in my coding it only validates the middle part i.e.(2[0-9]{3}[A-H]{1})
here is the regular expression:
(2[0-9]{3}[A-H]{2}) | (2[0-9]{3}[A-H]{1}) | (2[0-9]{3})
Posted 6-May-13 22:32pm
Edited 6-May-13 23:08pm
KM Perumal 7-May-13 3:36am
improve ur question
Prasad Khandekar 7-May-13 3:57am
Which expression? Please use improve question link and provide more details.
Madhav Hatwalne 7-May-13 4:17am
What is this Exprsso ?
Qadri Jillani 7-May-13 4:20am
Expresso is a tool for handling regular expression. just like a compiler . you make an expression and execute it there it gives you output of that expression. and lots of other options are available as well
Johnny J. 7-May-13 9:31am
@Madhav: This is Expresso:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 7 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100