diff --git a/README.md b/README.md index c831585..d520684 100644 --- a/README.md +++ b/README.md @@ -10,7 +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: -Regular expression +

+Regular expression +

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. @@ -103,4 +105,4 @@ lowercase letters in a row.
 "[a-z]+" => The car parked in the garage.
-
\ No newline at end of file +