Regular Expressions 101

Community Patterns

Get string between custom HTML Tags

0

Regular Expression
PCRE (PHP <7.3)

/
<code.*?<\/output>
/
gmsx

Description

Find strings between the custom HTML Tags "<code" and "</output>"

Submitted by anonymous - 7 years ago