Regular Expressions 101

Find characters to encode as entities, ignoring them if already part of one

Open Workspace
  • JavaScript
  • Match
0

Regular Expression

/
{2}|\r\n|&(?!(#\d+|\w+);)|[<>\r\n'"`]
/
g

Description

No description provided.

Submitted by Anonymous