Regular Expressions 101

Library entries

Simple tag-split

Vote

0

Regular Expression
javascript

/
(?:<([a-z]+)>(.*)<\/\1>)|((?:(?!<[a-z]+>.*<\/[a-z]+>).)+)
/
mg

Description

Loading markdown...
Submitted by anonymous - 2 years ago