Regular Expressions 101

Sponsors

Library entries

102
javascript

trim

trim string
Submitted by fp - 9 years ago
35
javascript

IP Address validator

Validates IPv4 IP Address
Submitted by krzysp - 7 years ago
31
javascript

Email address (most used)

Email address, most used cases
Submitted by Jago - 7 years ago
17
javascript

http url regex

general purpose HTTP URL regex
Submitted by Miguel Castillo @manchagnu - 7 years ago
15
javascript

Hashtag

The secret of the Twitterverse.
Submitted by Joogl - 8 years ago
14
javascript

Email (RFC2822)

Email address compliant with RFC2822
Submitted by Jago - 7 years ago
13
javascript

us postal/zip

no description available
Submitted by jay johnson - 9 years ago
12
javascript

Username with "_" "-"

no description available
Submitted by Gianvy - 7 years ago
12
javascript

US Currency Format

no description available
Submitted by anonymous - 7 years ago

Conventional Commits validation

Vote

6

Regular Expression
python

"
\A(?:(?:^(?P<type>feat|fix|ci|chore|docs|test|style|refactor|build|perf|revert)(?:\((?P<scope>[\w-]+)\))?(?P<breaking>!)?:\s(?P<subject>\b[\w#<> ./\t\\-]{3,}(?:\b|\.))$)(?:(?:(?P<BLANK_LINE>\n^$\n)(?P<body>(?:^.{3,}(?:\b|\.)$\n?){1,3}))?(?P<BLANK_LINE2>\n^$\n)(?:(?P<breaking_change>^BREAKING\sCHANGE:\s[\s\w]+(?:\b|\.)$)\n)?(?:(?P<footer>^\w+:\s[\w#-]+(?:\b|\.))))?\n?|)\Z
"
mu

Description

Loading markdown...
Submitted by Krisque - a year ago