Regular Expressions 101

Sponsors

Library entries

0
pcre2

Strip datetime -> date

Strip datetime -> date
Submitted by anonymous - 3 hours ago
0
pcre2

Sports Release Regex attempt #1

Yes. Its a thing.
Submitted by anonymous - 3 hours ago
0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - a day ago
1
javascript

Regex for url

Regex for url
Submitted by anonymous - 2 days ago
0
pcre2

InputInteger

InputInteger
Submitted by anonymous - 3 days ago
0
pcre2

hidrologia

qualidade
Submitted by anonymous - 3 days ago
1
javascript

RegEX IBAN SEPA with spaces

RegEX IBAN SEPA with spaces
Submitted by Karim MB - 4 days ago
1
javascript

js获取url上的参数

/(+)=(+)/gm
Submitted by anonymous - 6 days ago

Conventional Commits Validation Regex

Vote

1

Regular Expression
pcre2

/
^(?:(?<initial_commit>Initial commit\.?)|(?<merge>Merge [^\r\n]+)|(?<type>build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|¯\\_\(\)_\/¯)(?:\((?<scope>[\w-]+)\))?(?<breaking>!)?: (?<summary>[\w ,'.`:-]+)(?<=\v\v){0,2}(?<body>[\w\s,'.`\[\]-]+)(?<footer>(?<=\v\v)(?:(?<footer_token>[\w\s-]+): (?<footer_value>[\w -`]+))+|$))
/
gm

Description

Loading markdown...
Submitted by Ahmed Kamal - 2 months ago