# newregexp **Repository Path**: mirrors_codejamninja/newregexp ## Basic Information - **Project Name**: newregexp - **Description**: Dynamically create regular expressions - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-04-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # newregexp [![GitHub stars](https://img.shields.io/github/stars/codejamninja/newregexp.svg?style=social&label=Stars)](https://github.com/codejamninja/newregexp) > Dynamically create regular expressions from strings Please ★ this repo if you found it useful ★ ★ ★ ![](assets/newregexp.png) ## Features * Create regex from string * Works with native javascript RegExp api * Understands regex flags * Supports typescript ## Installation ```sh npm install --save newregexp ``` ## Dependencies * [NodeJS](https://nodejs.org) ## Usage ```js import newRegExp from 'newregexp'; const regex = newRegExp('/hello/g'); regex.test('hello'); // true ``` ## Support Submit an [issue](https://github.com/codejamninja/newregexp/issues/new) ## Screenshots [Contribute](https://github.com/codejamninja/newregexp/blob/master/CONTRIBUTING.md) a screenshot ## Contributing Review the [guidelines for contributing](https://github.com/codejamninja/newregexp/blob/master/CONTRIBUTING.md) ## License [MIT License](https://github.com/codejamninja/newregexp/blob/master/LICENSE) [Jam Risser](https://codejam.ninja) © 2018 ## Changelog Review the [changelog](https://github.com/codejamninja/newregexp/blob/master/CHANGELOG.md) ## Credits * [Jam Risser](https://codejam.ninja) - Author ## Support on Liberapay A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project. [Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going! [![Liberapay receiving](https://img.shields.io/liberapay/receives/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate) [![Liberapay patrons](https://img.shields.io/liberapay/patrons/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)