Regular Expressions 101

Library entries

Regex to replace alert

Vote

1

Regular Expression
pcre

/
<script>alert\(("\** [\p{L}]* \** [^)]*)\);<\/script>
/
u

Description

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