Regular Expressions 101

Sponsors

Library entries

6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
6
pcre

Extract style

no description available
Submitted by anonymous - 7 years ago
6
pcre

Username:Password

Regex For finding username:password
Submitted by Ghost - 7 years ago
5
pcre

Repair unquoted HTML attribute values

Usually MSWord HTML exports
Submitted by Ka. - 9 years ago
5
pcre

All href in a tag

Find all href in a tag
Submitted by Miron Yanovskiy - 8 years ago
5
pcre

Find All Python imports

no description available
Submitted by anonymous - 8 years ago
5
pcre

relative to absolute

relative to absolute
Submitted by xp_prg - 7 years ago
5
pcre

URL

URL Description from Dr. M. G. @ Brookes
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 - 5 months ago