Regular Expressions 101

Library entries

Replace second (or further) html statement in a whole code

Vote

1

Regular Expression
javascript

/
((?:\<[^<>]+\>\s?)?)([:]\w+(?!\w*[;]))((?:\s?\<\/[^<>]+\>)?)((?:(?:.(?!\1\2\3))*.){2})\1\2\3
/

Description

Loading markdown...
Submitted by Caio Oliveira - 8 years ago