Regex user name

This Regex is used to match user names, the names should only contains letters and a length between 4 and 12:

If you want to split the name wit a “-” you could use this:

would match this:

4 thoughts on “Regex user name”

  1. Its like you read my mind! You seem to know so much about this,
    like you wrote the book in it or something.
    I think that you can do with some pics to drive the
    message home a bit, but other than that, this
    is excellent blog. A great read. I’ll certainly be back.

    View Comment
  2. I’m curious to find out what blog system you’re utilizing?
    I’m having some small security issues with my latest blog and I
    would like to find something more safeguarded.
    Do you have any suggestions?

    View Comment
  3. excellent put up, very informative. I wonder why the other specialists of this sector don’t notice this.

    You should continue your writing. I am sure, you have a great
    readers’ base already!

    View Comment

Leave a Reply to CathernYHedlund Cancel reply

Your email address will not be published.

five + eight =