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
easyregx-0.0.5.tar.gz
(14.0 kB
view hashes)
Built Distribution
easyregx-0.0.5-py3-none-any.whl
(14.0 kB
view hashes)