Regular Expressions 101

Sponsors

Library entries

1
pcre

SO Question

SO Question
Submitted by PaperBirdMaster - 7 years ago
1
pcre

remove link from discuz quoted message

no description available
Submitted by Paul Wang - 7 years ago
1
pcre

Phone Guatemala

Regex for phones in Guatemala
Submitted by Rodrigo Polo - 7 years ago
1
pcre

30164958

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

foreach

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

foreach

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

URL to link

http://blog.jmsinfo.co/?d=2015/02/16/10/17/49
Submitted by Mickaël S. - 7 years ago
0
pcre

For justin

dis is why you match shit lots
Submitted by anonymous - 7 years ago
6
pcre

Extract style

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

Dim name

Gets all variable names
Submitted by Tyrone Moodley - 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