tjx666 / vscode-regexp-tools

some useful tools about regexp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

regexp-tools

some useful tools about regexp

Features

Hover Tip

only support js/jsx/ts/tsx/vue/svelte/astro language.

Support go to reg101, for following js regexp:

const regexp = /\d{3}/gis;

Will generate url:

https://regex101.com/?regex=\d{3}&flavor=javascript&flags=gis

reg101

Escape String to RegExp

Just select some text and run command Escape String to RegExp, for example will transform:

const s = '^adjalks{}[]sadasd/';

to:

// prettier-ignore
const s = '\^adjalks\{\}\[\]sadasd\/';

About

some useful tools about regexp

License:MIT License


Languages

Language:TypeScript 99.2%Language:Vue 0.8%