Regular Expressions 101

Sponsors

Library entries

0
pcre

Phone regex for => (789) 456-1230

(789) 456-1230
Submitted by anonymous - 2 years ago
0
pcre

Postal Code FR

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

Code Conventionen ro

no description available
Submitted by anonymous - 2 years ago
0
python

Long url extractor

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

Platform.sh Web Location RegEx Example #1

See Unit Tests
Submitted by anonymous - 2 years ago
0
pcre

VP spoofed

no description available
Submitted by anonymous - 2 years ago
0
python

Time grabber

Grab time from datetime
Submitted by anonymous - 2 years ago
0
pcre

act_mall导入

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

mask pin in JSON/XML

no description available
Submitted by anonymous - 2 years ago
0
python

Xpath_Regardless_namespace

helper to create local-names xpath
Submitted by anonymous - 2 years ago
0
pcre

Assignment 1, part 2.2

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

Delete WI

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

Parse URL

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

upload

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

iCal parser

no description available
Submitted by anonymous - 2 years ago

Encontra Latex

Vote

0

Regular Expression
pcre

/
(?<!\\) # negative look-behind to make sure start is not escaped (?: # start non-capture group for all possible match starts # group 1, match dollar signs only # single or double dollar sign enforced by look-arounds ((?<!\$)\${1,2}(?!\$))| # group 2, match escaped parenthesis (\\\()| # group 3, match escaped bracket (\\\[)| # group 4, match begin equation (\\begin\{equation\}) ) # if group 1 was start (?(1) # non greedy match everything in between # group 1 matches do not support recursion (.*?)(?<!\\) # match ending double or single dollar signs (?<!\$)\1(?!\$)| # else (?: # greedily and recursively match everything in between # groups 2, 3 and 4 support recursion (.*(?R)?.*)(?<!\\) (?: # if group 2 was start, escaped parenthesis is end (?(2)\\\)| # if group 3 was start, escaped bracket is end (?(3)\\\]| # else group 4 was start, match end equation \\end\{equation\} ) ))))
/
gmx

Description

Loading markdown...
Submitted by anonymous - 2 years ago