Regular Expressions 101

Sponsors

Library entries

0
javascript

变成一行

把代码变成一行一个属性
Submitted by naoyuyan - a month ago
0
golang

匹配邮箱

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

Mez regex #3

This is the #3 regex used in Mez
Submitted by anonymous - a month ago
0
javascript

Mez regex #1

This is the #1 regex used in Mez
Submitted by anonymous - a month ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - a month ago
0
javascript

UA phone number

check ua phone number
Submitted by anonymous - a month ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - a month ago
0
javascript

replace text in tag

find and replace text in tag
Submitted by anonymous - 2 months ago

Website Regex

Vote

0

Regular Expression
javascript

/
(https?:\/\/)?(www\.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&\/=]*)|(https?:\/\/)?(www\.)?(?!ww)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&\/=]*)
/
gm

Description

Loading markdown...
Submitted by JohnnyJTH - 3 months ago