Regular Expressions 101

Community Patterns

1

ENEL T5 Mono

PCRE (PHP <7.3)
T
Submitted by anonymous - 5 months ago
0

Get digits

Golang
Trying to get digits
Submitted by Arthur Silva - 5 months ago
0

walter1976LastClean

Golang
walter1976LastClean
Submitted by anonymous - 5 months ago
0

i++ in bash

PCRE (PHP <7.3)
asdf
Submitted by anonymous - 5 months ago
0

pxc plcnext

Golang
plcnext version strings
Submitted by anonymous - 6 months ago
0

domain

Golang
ss
Submitted by sssssss - 7 months ago

alluse

-1

Regular Expression
PCRE (PHP <7.3)

/
^(?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 alluse - 7 months ago