Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
<script(\s*type="(text\/javascript)")?>(.*?)<\/script>
/
g

Description

Match script tag attribute and content except specific type

Submitted by anonymous - 7 years ago