Hello,
I am wanting to use regEx (regular expression) in visual basic code (vb6.0)
I have one field on a form that will get inputs from a user in the following format, (note the 3 numbers of the end will
change)
HNPSD/001
HNPSD/002
HNPSD/004
HNPSD/999
etc
I need the pattern/rules/constriants for this text format, so how to ensure that the HNPSD/ is always entered and that the next three digits are between 0-9.
something along the lines of: (or i might be way off)
eg_exp.Pattern = "^[0-9]*3"
Thanks
Jac