A small web tool that builds a regular expression from example strings.
Live: https://ibnuhx.com/regex-generator
- Add the strings you want to match (one per line).
- Get a compact regex that covers all of them.
- Toggle flags, copy the literal, and test it against sample text with live highlights.
The pattern engine is regexgen by Devon Govett.
npm install
npm run devnpm test
npm run buildProduction assets default to the /regex-generator/ base path used on ibnuhx.com. For root hosting:
BASE_PATH=/ npm run build- Vue 3
- Vite 6
- Tailwind CSS 4
- Vitest
MIT
