Click here to Skip to main content
12,998,654 members (129,177 online)
Rate this:
Please Sign up or sign in to vote.
See more: , +
My client has asked me to validate an user entry. The entry should follow the rules on link else I have to show validation message.

I am not very good at regex. Cn anybody give me some approach/regex for validating this.I have to validate from client and server side both.
Posted 31-Aug-10 4:13am
Dylan Morley 31-Aug-10 10:57am
That link points to code naming suggestions for javascript, nothing to do with user collection? Noone will be able to suggest a regex without knowing how to validate the user info
Brij 31-Aug-10 11:03am
Thanks Dylan. My requirent to validate the user entry/string to validate according to javascript variable naming suggestions else a error message to be shown.
Little wierd validation but asked by client :(.Have to implement.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This tool is helpful for creating and testing RegEx[^]

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
Web02 | 2.8.170622.1 | Last Updated 31 Aug 2010
Copyright © CodeProject, 1999-2017
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