Regular Expressions 101

Sponsors

Library entries

0
pcre2

Kucoin trading

Used to match kucoin trading links
Submitted by anonymous - a month ago
0
pcre2

Get HTML Balise

.
Submitted by anonymous - a month ago
0
pcre2

google

google api
Submitted by anonymous - a month ago
0
pcre2

Card number

Card number
Submitted by anonymous - a month ago
0
pcre2

Email

Email
Submitted by anonymous - a month ago
0
pcre2

Get description

sss
Submitted by anonymous - a month ago
0
pcre2

Regex named groups

Regex to group the elements by name
Submitted by anonymous - a month ago

https://twitter.com/MGWVc

Vote

0

Regular Expression
golang

`
^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
`
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago