Regular Expressions 101

Community Patterns

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

0

Regular Expression
ECMAScript (JavaScript)

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

Description

no description available

Submitted by anonymous - 3 years ago