Regular Expressions 101

Sponsors

Library entries

3
pcre

JSON recognition

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

,(?=([^\"]*\"[^\"]*\")*(?![^\"]*\"))

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

For Auto RTFs

no description available
Submitted by Dan Bloomquist - 10 years ago
4
pcre

1st TSV

no description available
Submitted by DynV - 10 years ago
4
pcre

YouTube Grabber Cleanup

no description available
Submitted by anonymous - 9 years ago

parsing CSV file

Vote

5

Regular Expression
pcre

/
(?:(?<=^)|(?<=,)) # start of line or comma (?:(?!$)\s)* # skip whitespace "? # skip opening quote mark ( (?<=").*?(?=") # capture value in quotes | # or ((?!,)\S)* # capture just value ) "? # skip closing quote mark (?:(?!$)\s)* # skip whitespace (?=$|,) # command or the end of the line
/
gmx

Description

Loading markdown...
Submitted by Viktor Lova aka nsinreal - 8 years ago