Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-03-28 17:53
Updated·2022-03-28 18:04
Flavor·JavaScript

/
<script([^>]*)?>.*?<\/script>
/
gm
Open regex in editor

Description

find <script> tag, but you can adapt to other tag

Submitted by anonymous