Regular Expressions 101

Sponsors

Library entries

1
javascript

t4

43t
Submitted by 34t - 7 years ago
2
javascript

Out of office

This is why
Submitted by anonymous - 7 years ago
1
javascript

Parser

Need everything inside this as separate variable :)
Submitted by anonymous - 7 years ago
7
javascript

Match text (not within html tag)

no description available
Submitted by Moistly - 7 years ago
1
javascript

Check if number is a float

no description available
Submitted by @hiaru - 7 years ago
1
javascript

very basic email regex

no description available
Submitted by anonymous - 7 years ago

Pre tags and inner contents grabber for JavaScript

Vote

1

Regular Expression
javascript

/
(<pre[^>]*?>((?:(?!pre>).|\n)*)<\/pre>)
/
gi

Description

Loading markdown...
Submitted by Namikaze Ray a.k.a. Pendechosen - 7 years ago