To Implement complex and simple regex in a simple way.
Project description
regpy
regpy is a python module which will help to implement complex and basic regex in a simple way.
Features
- Grab all alphabetic data
- Grab all valid mails id's.
- Grab or extract valid postal code.
Installation
To install regpy use this pip command :
pip install regpy
Functions
text
To grab only alphabetic data you can use text function from regpy.
import regpy
regpy.text(data)
emails
To grab all valid mail id use emails function from regpy.
import regpy
regpy.emails(data)
ip
ip function to grab all ipv4 ip's from list.
import regpy
regpy.ip(data)
url
You can use this url function in web scraping to extract https url from data.
import regpy
regpy.url(data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
regpy-1.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
regpy-1.0-py3-none-any.whl
(2.8 kB
view hashes)