Regular Expressions 101

Sponsors

Library entries

0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 7 days ago
0
pcre

腾讯视频

从元素解析视频URL
Submitted by anonymous - 7 days ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 7 days ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 8 days ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 8 days ago
0
javascript

check mail

Vérifie si le mail est valide ou non
Submitted by anonymous - 11 days ago

New line characters on Windows, Linux and OSX

Vote

0

Regular Expression
pcre2

/
(?<text>.*)(?<newline>[\r\n]+)
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 months ago