Regular Expressions 101

Sponsors

Library entries

2
pcre

remove n lines after matching pattern

stackoverflow question
Submitted by irom77 - 7 years ago
3
pcre

currency

no description available
Submitted by anonymous - 7 years ago
1
javascript

US Zip Code Validation

5 digits and no 0 5/4 times
Submitted by Ashish - 7 years ago
0
javascript

Date Validation

no description available
Submitted by Ashish - 7 years ago
-2
javascript

Date Validation

no description available
Submitted by anonymous - 7 years ago
1
pcre

URL detector

no description available
Submitted by pawel - 7 years ago
1
javascript

Everthing in an element

no description available
Submitted by anonymous - 7 years ago
0
pcre

Select everything outside of table tags

no description available
Submitted by ReijMan - 7 years ago

extract java property name and value

Vote

1

Regular Expression
pcre

/
(?<propName>[A-Za-z0-9_.-]+)(?<assign>\s*(?:=|:)\s*)(?<propVal>(?:[^\r\n\\]++|\\(?:\r?\n|\r|.))*+$)
/
mg

Description

Loading markdown...
Submitted by Zart Colwing - 7 years ago