Regular Expressions 101

Sponsors

Library entries

0
pcre

trim phone number

trim phone number
Submitted by anonymous - 5 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 6 days ago
0
pcre2

Storyblok Assets

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

Init code

Init code
Submitted by anonymous - 8 days ago
0
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 9 days ago

Fix property names with spaces generated by odata2poco

Vote

0

Regular Expression
pcre

/
(?:^\s*(?:[\w<>]+\s+){2}(?!\w+\s\{get;set;}.*$)|\G)\K(\w+)(\h*)(?=.*\s\{get;set;}.*$)
/
mg

Description

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