Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-04-27 14:31
Flavor·ECMAScript (JavaScript)

/
(var preferences = {)[\s\S]*(};)
/
mg
Open regex in editor

Description

Match everything between 2 strings - Including the strings and white space and new lines

Submitted by anonymous