How can I write a Regex to do this?
- From: "Ron" <pts4560@xxxxxxxxx>
- Date: 11 Mar 2007 17:58:43 -0700
I want to write a regular expression, I hear that using this can find
inconsistancies in input.
Here is what I need the expression to do.
Verify part numbers hat are in the following format would return true.
will begin with a C, V, K, or J.
followed by a dash than a five digit number begining with an 8 or 9
followed by a dash and then a three digit number ending in 1
so a valid number would be:
K-82205-001
can anyone show me how I would write a regular expression to verify
this?
.
- Follow-Ups:
- Re: How can I write a Regex to do this?
- From: Göran Andersson
- Re: How can I write a Regex to do this?
- From: Branco Medeiros
- Re: How can I write a Regex to do this?
- Prev by Date: Re: Checking for A Blank String
- Next by Date: Re: Checking for A Blank String
- Previous by thread: FolderBrowserDialog doesn't initialize
- Next by thread: Re: How can I write a Regex to do this?
- Index(es):
Relevant Pages
|