RegularExpression for validation

  • Thread starter Thread starter Phillip Vong
  • Start date Start date
P

Phillip Vong

I do not know how to write regularexpressions. I was wondering if someone
could show me how to write one for my validation that will not allow more
than 250 characters.

Thanks
Phil
 
I would say how, but can I suggest you try searching the web first on
regular expressions in google?

maybe try "regular expression simple examples"

if your stuck on something then Ill gladly help
 
Try this.

" ^[a-zA-Z0-9]{1,250}$"

regards

John Timney (MVP)
 
actually you could probably get away with just ".{1,250}"

--
--
Regards

John Timney (MVP)


John Timney (MVP) said:
Try this.

" ^[a-zA-Z0-9]{1,250}$"

regards

John Timney (MVP)


Phillip Vong said:
I do not know how to write regularexpressions. I was wondering if someone
could show me how to write one for my validation that will not allow more
than 250 characters.

Thanks
Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top