Regular Expressions 101

Sponsors

Library entries

0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 3 months ago
0
python

恩更

非法发
Submitted by anonymous - 3 months ago
0
python

完形填空

完形填空
Submitted by anonymous - 3 months ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 3 months ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 3 months ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 3 months ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 3 months ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 3 months ago
0
python

lua_pattern

lua file name
Submitted by anonymous - 3 months ago
0
python

Email id extraction

extracting email id from given string
Submitted by anonymous - 3 months ago
0
python

SAFE Parsing

Parsing data in SAFE text file
Submitted by anonymous - 2 months 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