This python tool help to regex code easier
Project description
easyRegx
Simplify the regex methods and python methods for the basic problem.
Installation
Install easyRegx with pip
pip install easyregx
Usage/Examples
word_search:
Function to find given word in sentence or not
import regex
regex.word_search(sentence, search_word)
word_search_with_endspan:
Function to find given word in sentence or not
regex.word_search_with_endspan(sentence, search_word, endspan=None)
remove_duplicates_letter:
Function to remove duplicates
regex.remove_duplicates_letter(str)
separate_numbers_alphabets:
Function to separate the numbers and alphabets
regex.separate_numbers_alphabets(str)
count_word_occurance:
Function to count occurance of the given word in the sentence
regex.count_word_occurance(sentence, word)
Authors
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easyregx-0.0.5.tar.gz.
File metadata
- Download URL: easyregx-0.0.5.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc18f54463edad3cb5d3d108a19fb1e66c878bf884619b39ae703a19910a3c9a
|
|
| MD5 |
5084f39882d0e7fde711aede345b70eb
|
|
| BLAKE2b-256 |
c081d79d61fa1d1ea9081845f4ad22bc66e4cd377d6b772915feff5c6b138ef9
|
File details
Details for the file easyregx-0.0.5-py3-none-any.whl.
File metadata
- Download URL: easyregx-0.0.5-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1fc854f24a236e7b3f6c024df68951de3e4784fc7295cdfe59dd1aa74b7a62a
|
|
| MD5 |
842fd2ca4c28f226f0c795a4c101687e
|
|
| BLAKE2b-256 |
cdba98060b99911275ed79d8eb2f596c23fe42fa085ffc7705a2e952692e660e
|