Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-12-17 12:17
Flavor·ECMAScript (JavaScript)

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

Description

Regexp to match vue sfc script tag

Submitted by YuTengjing