Regular Expressions 101

Sponsors

Library entries

0
python

Out of

Out of
Submitted by anonymous - 25 days ago
0
javascript

num pattern

a
Submitted by Ibraheem - a month ago
0
javascript

regexGetAccount

(Element CI: )\d{4}
Submitted by raphael - a month ago
0
pcre

test1

test1
Submitted by anonymous - a month ago
0
javascript

Echo

Usage of named capture group.
Submitted by Abitwhy - a month ago
1
python

telephone_founder

with obfuscation
Submitted by anonymous - a month ago
0
python

TRye bracktres

gfhtrgh
Submitted by anonymous - a month ago
0
javascript

infinitivo verbos idênticos

infinitivo
Submitted by anonymous - a month ago
0
javascript

test

test
Submitted by anonymous - a month ago
0
javascript

test

o
Submitted by k - a month ago

(experimental) strip whitespace and linebreaks between HTML tags

Vote

1

Regular Expression
javascript

/
(?<=(?<![<](?:pre|code)[^>]*?)[>])(?:[\s\n]*([^<]*?)[\s\n]*)(?=[<](?![\/](?:pre|code)))
/
dig

Description

Loading markdown...
Submitted by Nicholas Berlette (https://github.com/nberlette) - 2 months ago