Regular Expressions 101

Sponsors

Library entries

0
pcre2

Match between two strings

(?<=This is)(.*)(?=sentence)
Submitted by anonymous - 4 hours ago
0
pcre2

wiki

wiki parser
Submitted by anonymous - 15 hours ago
0
pcre2

pythonize beautiful query

pythonize beautiful query
Submitted by anonymous - a day ago
0
pcre

Parcing2

aa
Submitted by anonymous - 2 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 2 days ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 5 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 6 days ago

Parse JSON key value

Vote

1

Regular Expression
pcre

/
(?:\"|\')(?<key>[\w\d]+)(?:\"|\')(?:\:\s*)(?:\"|\')?(?<value>[\w\s-]*)(?:\"|\')?
/
gm

Description

Loading markdown...
Submitted by Kostas Trichas - 8 years ago