Skip to content

tjx666/vscode-regexp-tools

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages