Regular Expressions 101

Sponsors

Library entries

1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - 2 hours ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 5 days ago
0
javascript

US|CA dollar

US|CA dollar regexp
Submitted by cagatayucar - 7 days ago
0
javascript

Percentage only

Percentage only
Submitted by cagatayucar - 7 days ago
0
javascript

Tel

Válida números de telefone
Submitted by Mateus - 8 days ago
0
dotnet

Get h1-6 tag

(.*?)
Submitted by OlegBel - 10 days ago
0
javascript

Mail address validation

Validates mail addresses
Submitted by Sjoerd de Vries - 11 days ago
0
javascript

placeables

placeables
Submitted by anonymous - 11 days ago
0
javascript

VidID: YouTube

ID of YouTube video with provider flag
Submitted by tomByrer - 13 days ago

Semantic Version (semver)

Vote

0

Regular Expression
dotnet

"
^(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<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-]*))*))?(?:\+(?<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
"
gm

Description

Loading markdown...
Submitted by semver.org,Jeff Jacobson - 2 months ago