Regular Expressions 101

Sponsors

Library entries

0
python

取等号两边的数据

取等号两边的数据
Submitted by 小沙盒工作室 - 18 minutes ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 5 hours ago
0
pcre

helix word motion

helix word motion
Submitted by anonymous - 8 hours ago
0
pcre2

Strip datetime -> date

Strip datetime -> date
Submitted by anonymous - 10 hours ago
0
pcre2

Sports Release Regex attempt #1

Yes. Its a thing.
Submitted by anonymous - 10 hours ago
0
python

Match files' extention

match files' extention
Submitted by anonymous - 19 hours ago
0
pcre

Kafka topic name regex

Kafka topic name regex
Submitted by anonymous - 21 hours ago
0
python

去除首尾空格

去除首尾空格
Submitted by anonymous - a day ago
0
python

`git` URL

Match git URL components (including partial URLs).
Submitted by anonymous - a day ago
0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - 2 days ago

Roman numbers

Vote

-2

Regular Expression
javascript

/
^(?!$)M{0,2}(?:M(?=CM(?:XC)?(?:IX)?$))?(?:C(?=M[^CD]*(?:XC)?[^CD]*$))?M?(?:C(?=D[^C]*(?:XC)?[^C]*$))?D?C{0,2}(?:C(?=XC(?:IX)?$))?(?:X(?=C[^X]*(?:IX)?[^X]*$)(?!.*L))?C?(?:X(?=L[^X]*(?:IX)?[^X]*$))?L?X{0,2}(?:X(?=IX$))?(?:I(?=[XV]$))?X?V?I{0,3}$
/

Description

Loading markdown...
Submitted by Nicolò Ribaudo - 7 years ago