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. It’s hard to find experienced people for this topic, however, you sound like you know what
    you’re talking about! Thanks

  2. 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.

  3. 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?

  4. 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!

Leave a Reply

Your email address will not be published.

11 + eighteen =