Regular Expressions 101

Sponsors

Library entries

0
pcre2

灾难性回溯

灾难性回溯
Submitted by anonymous - 27 minutes ago
0
dotnet

Nepali phone number regex

(\+977)?9\d{8}
Submitted by anonymous - 42 minutes ago
0
pcre2

独占模式

独占模式
Submitted by anonymous - an hour ago
0
pcre2

非贪婪

非贪婪
Submitted by anonymous - an hour ago
0
pcre

模式测试

测试贪婪/非贪婪模式
Submitted by anonymous - 2 hours ago
0
pcre

Wrap word in json with quotes

Wrap word in json with quotes
Submitted by anonymous - 20 hours ago
0
pcre2

asdf

ghjk
Submitted by anonymous - 21 hours ago
0
pcre2

/Host: (.*?)<br>/gu

1
Submitted by anonymous - a day ago
0
pcre2

Partial Date

Partial date
Submitted by anonymous - 2 days ago
0
pcre2

regex-input-number

regex-input-number
Submitted by me - 2 days ago
0
pcre2

find abc in string

first test
Submitted by anonymous - 2 days ago
0
java

时间

时间
Submitted by 旧信 - 2 days ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 2 days ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 2 days ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 2 days ago
0
pcre2

Remove Hatena blog keyword

Remove Hatena blog keyword
Submitted by anonymous - 2 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