Regular Expressions 101

Sponsors

Library entries

6
pcre

ID003 device info

no description available
Submitted by sasjaq - 8 years ago
6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
6
pcre

Extract style

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

Username:Password

Regex For finding username:password
Submitted by Ghost - 7 years ago
6
python

Find consecutive duplicate words

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

Repair unquoted HTML attribute values

Usually MSWord HTML exports
Submitted by Ka. - 9 years ago
5
pcre

All href in a tag

Find all href in a tag
Submitted by Miron Yanovskiy - 9 years ago
5
pcre

Find All Python imports

no description available
Submitted by anonymous - 8 years ago
5
pcre

relative to absolute

relative to absolute
Submitted by xp_prg - 7 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 - 7 years ago