Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perkinsjr/regexits
regexits is a lightweight javascript Regex solution
https://github.com/perkinsjr/regexits
credit-card md5 pattern-matching regex regular-expression regular-expressions string-manipulation
Last synced: 3 months ago
JSON representation
regexits is a lightweight javascript Regex solution
- Host: GitHub
- URL: https://github.com/perkinsjr/regexits
- Owner: perkinsjr
- License: mit
- Created: 2019-02-22T20:35:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-17T11:33:34.000Z (almost 5 years ago)
- Last Synced: 2024-10-11T01:58:22.081Z (4 months ago)
- Topics: credit-card, md5, pattern-matching, regex, regular-expression, regular-expressions, string-manipulation
- Language: JavaScript
- Homepage: https://jamesperkins.io/
- Size: 255 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Welcome to Regexits 👋
> Regexits is a curated package to handle regex on your next project
### 🏠 [Homepage](https://github.com/perkinsjr/regexits#readme)
## Install
```sh
npm install
```## Run tests
```sh
npm run test
```
## How to use```sh
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
```sh
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**
* Twitter: [@james_r_perkins](https://twitter.com/james_r_perkins)
* Github: [@perkinsjr](https://github.com/perkinsjr)
* Personal Site: [jamesperkins.io](https://jamesperkins.io)
## 🤝 ContributingContributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/perkinsjr/regexits/issues).## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2019 [James Perkins](https://github.com/perkinsjr).
This project is [MIT](https://github.com/perkinsjr/regexits/blob/master/LICENSE) licensed.***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_