Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
<script([\s\S]*?)>([\s\S]*?)<\/script>
/
gm

Description

Regexp to match vue sfc script tag

Submitted by YuTengjing - 2 years ago