Question 1.
I'm trying to figure out how to test for a numeric value of a
particular character length. An example is:
234335675
or
001454668

The easy part is the numeric check:
[0-9]
or
\d

I'm not sure how to check the length part and combine it with the
numeric part into the regexp.

I see that
{n}

says "match exactly n times". I'm using the demo applet at:
http://jakarta.apache.org/oro/demo.html
to test my regexps but so far no luck.

Question 2:
If I add a "pattern to test" is it logically AND'd to the other
patterns I set up?

Thanks,

--
Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to