Regular Expressions 101

Community Patterns

Get string between quotes

0

Regular Expression
ECMAScript (JavaScript)

/
['"](.*?)['"]
/
g

Description

Gets a string between double or single quotes

Submitted by anonymous - 5 years ago