Regular Expressions 101

Library entries

7
javascript

Date and time format - ISO 8601

Matches ISO 8601 date formats
Submitted by Ettienne - 7 years ago
6
javascript

Password

no description available
Submitted by anonymous - 9 years ago
6
python

Find consecutive duplicate words

no description available
Submitted by anonymous - 8 years ago
6
javascript

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 8 years ago
6
javascript

HTML img

Grabs all HTML tags
Submitted by Pirate11 - 8 years ago
6
javascript

Email

no description available
Submitted by anonymous - 7 years ago

Conventional Commits validation

Vote

6

Regular Expression
python

r"
\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