1.0.1 • Published 7 years ago

string-identifer v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

string-identifer

Identifey the content of your string by using regax

Installation

To install string generator, use npm:

npm install string-identifer

Usage

var identify = require("string-identifer");
console.log(identify.options) // log all the avalible options and what they do
console.log(identify.expressions) // log all the RegExp 

Options

identify.addCustomExpression(name, string, explantion); // add a custom RegExp // explantion is optional
identify.removeExpression(name); //remove an expression

identify.validateString(name, str); //name of the RegExp you want to use , string to be checked