Regular Expressions 101

Single xml tag close to separated

Open Workspace
  • JavaScript
  • Substitution
0

Regular Expression

/
<((\w{3,100})+[^<>]+)\s\/>
/
g

Description

the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.

Submitted by Agent Codesmith