2.0.2 ā€¢ Published 5 years ago

regexits v2.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Regexits is a curated package to handle regex on your next project

šŸ  Homepage

Install

npm install

Run tests

npm run test

How to use

const regexits = require('regexits')

// To find if a string matches a pattern.
regexits.match(string, pattern);

// To remove a certain type from a string.
regexits.removeFromString(string, pattern);

// To get parameters from url.
regexits.getURLParameters(url);

What Regex matching is available

DateSlashes , Time24hr , Date
ISO8601DT , HTMLtag , HEXColor
URLSlug , SrcImgTag , URL
Email, Password , PosInt
NegInt, Integer , PosNum
NegNum, Num ,PhoneNum
NewLine , CSSComment , USCAZip
SSN , EMAIL, IPV4
IPV6 , IPV4ORV6 , VISA
MASTERCARD , AMEX ,DINERS
DISCOVER, JCB , POBOX
SHA256 , MD5 , MAINNET
TESTNET , GITHUB

Author

šŸ‘¤ James Perkins

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!

šŸ“ License

Copyright Ā© 2019 James Perkins. This project is MIT licensed.


This README was generated with ā¤ļø by readme-md-generator