From 8701eba6bf18b2981bf6c1de22fa2c7d60d6ee8b Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmed Date: Sun, 23 Jul 2017 09:02:04 +0100 Subject: [PATCH] Update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index db4b287..05464f2 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ Imagine you are writing an application and you want to set the rules when user c contains letter, number, underscore and hyphen. We also want to limit the number of characters in username so it does not look ugly. We use the following regular expression to validate a username: -
-![Example](https://i.imgur.com/UrDb9qc.png) -
+

+![Regular expression](https://i.imgur.com/UrDb9qc.png) +

Above regular expression can accepts the strings "john_doe", "jo-hn\_doe" and "john12\_as". It does not match "Jo" because that string contains uppercase letter and also it is too short.