Regular Expressions 101

Sponsors

Library entries

2
pcre

NSU ID Card Checker

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

Match "A B C" where A+B=C (final version)

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

BEM

CSS Coding Guideline BEM (Block Element Modifier)
Submitted by anonymous - 2 years ago
2
pcre

手机正则

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

Resolvers

APD SFs too general
Submitted by anonymous - 2 years ago
3
pcre

Get Nth value (3 times)

capture Nth character from string, 3 times
Submitted by K. - 9 years ago
3
pcre

UUID

no description available
Submitted by Jason - 8 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