Welcome to Magex

Magex - Magical Expression🚀

A modern JavaScript utility library for building regular expressions.

code snippet 💻

Generate regular expression by calling anyOf function from magex API

const input = 'abc';
const callback = anyOf;

const result = generateExp(callback)(input);

console.log(result) // /[abc]/g

More functions are in progress…

Happy coding 😄