Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I tried posting the following on, but it was closed as off topic not constructive. Is there a Stack Exchange site for this question?

Has anyone come across a "somewhat complete" list of the most common textbox input patterns that programmers need to validate against? I have come up with a short list on my own but would like to get something more complete. What I have so far:

* Social Security Number
* Phone Number
* Email Address
* Web Address
* Zip Code
share|improve this question
You'll need to edit it in a way it's no longer a "fill out the rest of my phone directory" request – random Aug 11 '11 at 4:40
Minor clarification: the question was closed a "not constructive". – Adam Lear Aug 11 '11 at 4:59
I just can't get anything past you can I Anna? – Abe Miessler Aug 11 '11 at 5:06
I just wanted to clarify the close reason because input validation approaches in general aren't off-topic on Programmers. – Adam Lear Aug 11 '11 at 5:16
what is the purpose of this list? Why do you need to create such a list? What is your actual problem? Maybe you could explain THAT. – Jeff Atwood Aug 11 '11 at 10:33
@Jeff Atwood, here is the explanation from my original post: I am interested in building a SharePoint WebPart that would provide several methods for validating input (sorely lacking if you've ever used SharePoint). While I plan on providing a way for people to enter regex and use other methods for custom validation I would like to provide a complete/useful list of what I consider the most common patterns that require validation. These pre-determined patterns would have all validation logic already implemented. – Abe Miessler Aug 11 '11 at 15:18
And the follow up: Also, I'm not sure how familiar you are with SharePoint, but often the people defining what fields need to be present do not have the skills to implement proper validation using Regex or other methods. The fact that non-programmers are creating the structure causes the need for pre-defined lists of common patterns. – Abe Miessler Aug 11 '11 at 15:18
@abe maybe ask it on then? – Jeff Atwood Aug 11 '11 at 16:28
@Jeff Atwood, I considered it, but I really think that the people that would have experience with this type of task are web developers and not SharePoint admins/users/developers. While my end goal is to use this for something in SharePoint the question itself really does not require any sort of SharePoint knowledge/expertise. Seems like like it would be an odd fit for that site. – Abe Miessler Aug 11 '11 at 16:32
@abe "Let's make a list of X" is still not a great question. Lists are for shopping – Jeff Atwood Aug 11 '11 at 16:35
@jeff, Ok sounds like there is no SE home. Maybe I'll try my luck with Yahoo Answers ;) – Abe Miessler Aug 11 '11 at 16:40

I actually thought it was a constructive question for programmers, if it would have been phrased in a more descriptive way. Reading the comments helped tremendously, and feedback from there should have been rolled back into the question.

I actually do have a list of a few more items that I would have provided as an answer, but now that it's closed I cannot.

share|improve this answer
@Abe Miessler if you end up reposting the question somewhere, please update this meta question with a link to the reposted/rephrased question. – ckittel Aug 11 '11 at 15:46
I posted it up in the LinkedIn "End to End Web Developers" group discussion board. Not sure where else to post it. You can see it here:… – Abe Miessler Aug 12 '11 at 4:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .