Regular Expressions 101

Sponsors

Library entries

1
javascript

中文匹配

本示例启用了多行匹配 m
Submitted by yang - 12 hours ago
0
pcre2

Test mail

Email test
Submitted by anonymous - a day ago
0
pcre2

No Squares

Match not square brackets
Submitted by max - 2 days ago
0
pcre2

首行首个单词

匹配首行首个单词
Submitted by anonymous - 3 days ago

Regex of name or a firstname

Vote

1

Regular Expression
pcre2

/
^((?:(?:[a-zA-Z]+)(?:-(?:[a-zA-Z]+))+)|(?:[a-zA-Z]+))$
/
gm

Description

Loading markdown...
Submitted by Massinissa CHAOUCHI - 3 months ago