---
title: "Discussion on \"Validating Username Using REGEX.\" | Hashnode"
description: "Discussion on \"Validating Username Using REGEX.\". Hello Everyone!💜\nRegex is one of the topics where almost every developer takes time in the beginning. So, let's practice it today by creating the regex pattern to validate a username. Let's begin!🚀\n\nBefore solving, if you are not aware of syntax fo..."
url: "https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Validating Username Using REGEX.](https://laasyasettyblog.hashnode.dev/validating-username-using-regex?utm_source=hashnode&utm_medium=feed)

Hello Everyone!💜 Regex is one of the topics where almost every developer takes time in the beginning. So, let's practice it today by creating the regex pattern to validate a username. Let's begin!🚀 Before solving, if you are not aware of syntax fo...

Nov 28, 2020 · 3 min read · laasyasettyblog.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#regex](https://hashnode.com/tag/regex)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

@Laasya\_Setty · India

  
[View profile](https://hashnode.com/@Laasya_Setty)

Java Developer | Machine Learning| Tech Blogger

I am a Java developer and Machine learning enthusiast.

## Responses 3

Markdown supported · ⌘↵ to post

[Varun Sridharan](https://hashnode.com/@varunsridharan)

[Nov 30, 2020](https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9/comment/5fc44bd1bc24037614df83d8)

Nice Article.

It would be better if you could add the programing language in the title

Example : "`Validating Username Using REGEX in Java.`"

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Nov 30, 2020](https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9/comment/5fc44bd1bc24037614df83d8#reply-5fc45f7a0a072175ef2ce63e)

Thank you! Will keep this in mind.

[DesignerAnna1](https://hashnode.com/@designeranna1)

[Nov 29, 2020](https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9/comment/5fc2ef512d08fb69499617be)

Revision Done. 👍 ![Screenshot 2020-11-29 at 6.13.47 AM.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1606610672307/EugyZiJtN.jpeg)

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Nov 29, 2020](https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9/comment/5fc2ef512d08fb69499617be#reply-5fc329982d08fb6949961947)

Awesome!!

[Aditya Chaudhary](https://hashnode.com/@ItsAditya)

[Nov 28, 2020](https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9/comment/5fc29f0855b779631e1ad2c5)

Informative!

[Sai Laasya Vabilisetty](https://hashnode.com/@Laasya_Setty)

[Nov 29, 2020](https://hashnode.com/posts/validating-username-using-regex/5fc28bcf55b779631e1ad1f9/comment/5fc29f0855b779631e1ad2c5#reply-5fc329b32d08fb6949961952)

Thank You, Aditya!
