Regular Expressions 101

Community Patterns

15

IPv4

PCRE (PHP <7.3)
no description available
Submitted by robwa - 8 years ago
4

url

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago
6

json

PCRE (PHP <7.3)
{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 10 years ago

CSV line parsing

28

Regular Expression
PCRE (PHP <7.3)

/
(?:\s*(?:\"([^\"]*)\"|([^,]+))\s*,?)+?
/
g

Description

Loading markdown...
Submitted by Various - 9 years ago