Regular Expressions 101

Sponsors

Library entries

0
pcre2

首行首个单词

匹配首行首个单词
Submitted by anonymous - 16 days ago
0
pcre2

MAC address

MAC address supporting various formats
Submitted by anonymous - 17 days ago
0
pcre2

Visa card regex

Visa card regex
Submitted by anonymous - 17 days ago
0
javascript

cuts amazon url

with a url of aws cuts the url
Submitted by d3w3r - 18 days ago
0
python

foengz1

htmltag
Submitted by Foengz - 18 days ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 19 days ago

Author first names to initials

Vote

0

Regular Expression
javascript

/
(?<=,\s*)(?:([A-Z])\.?[a-üA-Z{\\'}]*(?:(-)| )?)(?:([A-Z])(\.?)[a-üa-zA-Z{\\'}]*(?:(-)| )?)?(?:([A-Z])(\.)?[a-zA-Z{\\'}]*(?:(-)| )?)?(?= and|$)
/
gm

Description

Loading markdown...
Submitted by Pierre Racine - 2 months ago