Regular Expressions 101

Library entries

Select Topmost HTML Tags

Vote

0

Regular Expression
pcre

/
\<(ol)(?: .*?)?\>(?:[^\<]|\<(.*?)\>.*\<\/\2\>)*\<\/\1\>
/
sg

Description

Loading markdown...
Submitted by Guilherme C. Souza - 6 years ago