Regular Expressions 101

Sponsors

Library entries

0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 3 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 4 days ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 4 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 6 days ago
0
pcre

Phone Format ( FORK )

f
Submitted by anonymous - a month ago
0
pcre

cert

cert regex
Submitted by anonymous - a month ago
0
pcre

Variables 2

chingo de cheves y desmadre
Submitted by anonymous - 2 months ago
0
pcre

Spotify ID regex

Spotify ID regex
Submitted by anonymous - 2 months 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 - 4 months ago