Regular Expressions 101

Sponsors

Library entries

0
pcre2

Русские маты

Матчит русские маты
Submitted by piterden - a month ago
0
pcre2

fsda

asdfadfa
Submitted by anonymous - 2 months ago
0
pcre2

Replace 2 or more whitespace

Replace 2 or more whitespace
Submitted by blacksmithop - 2 months ago
0
pcre2

CmdLineRaw

CmdLineRaw
Submitted by anonymous - 2 months ago
0
pcre2

Syslog

Grouping for standard ubuntu server syslog messages.
Submitted by Jason King - 2 months ago
0
pcre2

GF API Scan

using gf I wan to scan apis better
Submitted by Chase Jensen - 2 months ago
0
pcre2

iCAL v3

iCAL
Submitted by Appenjel - 2 months ago
0
pcre2

add _&_ between numbers

adds (space)&(space) between numbers
Submitted by _ - 2 months ago
0
pcre

Variables 2

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

Match CSS Gradients

Match CSS Gradients
Submitted by Sean Dellis - 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 - 3 months ago