Regular Expressions 101

Sponsors

Library entries

0
pcre

Regex for MAC address

no description available
Submitted by anonymous - 6 years ago
0
pcre

Regex for MAC address with unit tests

no description available
Submitted by anonymous - 6 years ago
0
javascript

JSON object key matcher

Matches JSON object keys
Submitted by Ariel Schiavoni - 6 years ago
0
javascript

校验中文

字符串仅能是中文。
Submitted by anonymous - 6 years ago
0
javascript

校验身份证号码

18位
Submitted by anonymous - 6 years ago
0
javascript

校验身份证号码

15位
Submitted by anonymous - 6 years ago
0
javascript

校验IP-v4地址

IP4 正则语句
Submitted by anonymous - 6 years ago
0
javascript

校验IP-v6地址

IP4 正则语句
Submitted by anonymous - 6 years ago
0
pcre

aurora

pagination regex.
Submitted by anonymous - 6 years ago
0
pcre

interfaces

no description available
Submitted by anonymous - 6 years ago
0
pcre

service_instances

no description available
Submitted by anonymous - 6 years ago

NW Eyes

Vote

0

Regular Expression
pcre

/
First Name[\s\S](?<firstname>.*)[\s\S]Last Name[\s\S](?<lastname>.*)[\s\S]Phone[\s\S](?<phone>.*)[\s\S]E-Mail[\s\S](?<email>.*)[\s\S]*age group\?[\s\S](?<agegroup>.*)[\s\S]*seeing things up close[\s\S](?<farsightedness>.*)[\s\S]*cannot see very well[\s\S](?<astigmatism>.*)[\s\S]*-Glasses[\s\S](?<glasses>.*)[\s\S]*-Contacts[\s\S](?<contacts>.*)[\s\S]*-Reading Glasses[\s\S](?<readingglasses>.*)[\s\S]*following\?-(?<following>.*)[\s\S]*distance without relying on glasses and contact lenses.[\s\S](?<distance>.*)[\s\S]*close without relying on glasses and contact lenses.[\s\S](?<close>.*)[\s\S]*contacts\?[\s\S](?<wouldyourcareerimprove>.*)[\s\S]*Test Score[\s\S](?<testscore>.*)[\s\S]*Entry ID: (?<entryid>.*)[\s\S].*Referrer: (?<referrer>.*)[\s\S]*Host: (?<formhost>.*)
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago