Regular Expressions 101

Community Patterns

selecting a tag and the text inside it

0

Regular Expression
ECMAScript (JavaScript)

/
(?:<(p)([\s\w='":;]+)?>)(.*)(?:<\/(p)>)
/
g

Description

Loading markdown...
Submitted by anonymous - 2 years ago
(Last modified 2 years ago)