0.0.0 • Published 9 years ago

regex.js v0.0.0

Weekly downloads
6
License
ISC
Repository
github
Last release
9 years ago

regex.js

Collection of the most used regular expressions in JavaScript.

Build Status

npm install regex.js --save

basic usage

var regex = require('regex');

regex actions list

email:

regex.email.validate(source)

regex.email.replace(source, value)

regex.email.search(source)

time:

regex.time.validate(source)

regex.time.replace(source, value)

regex.time.search(source)

ipv4:

regex.ipv4.validate(source)

regex.ipv4.replace(source, value)

regex.ipv4.search(source)


contribute

Everyone can contribute! Every contribution will be welcomed!

Fork it -> Branch it -> Test it -> Push it -> Pull Request it