Skip to content

Commit 8701eba

Browse files
committed
Update
1 parent 78e39bc commit 8701eba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Imagine you are writing an application and you want to set the rules when user c
1010
contains letter, number, underscore and hyphen. We also want to limit the number of characters in username so it does not look ugly.
1111
We use the following regular expression to validate a username:
1212

13-
<center>
14-
![Example](https://i.imgur.com/UrDb9qc.png)
15-
</center>
13+
<p style="text-align: center;">
14+
![Regular expression](https://i.imgur.com/UrDb9qc.png)
15+
</p>
1616

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

0 commit comments

Comments
 (0)