Skip to main content

regxdev

This package is made to developers for saving them time while playing in scraping the information.

Feature's of this project

  • Find's any format of phone number irrespective of the country.
  • Can find links from the string.
  • Can extract the mail id from a string.
  • Removes any links from the string.
  • Return's the index of the matching word present in the string as a list.
  • Can replace any word provided with a new word.

How to install and use it.

pip install regxdev

from regxdev import regxdev as rd

  • For finding phone number from the string you passed.

    result = rd.phone_finder("PASS THE STRING CONTAINING NUMBEERS") returns list of phone numbers

    Note: This method works only if numbers start with the prefix '+' and not containing parentheses.

  • For finding links.

    result = rd.link_finder("PASS THE STRING") returns list of links in the string.

  • For extracting mail ids.

    result = rd.mail_extractor("PASS THE STRING")

  • For removing links.

    result = rd.link_remover("PASS THE STRING")

  • This returns a list of tuples that is the index of a matched word you were searching for in the list.

    result = rd.word_finder("WORD TO BE FOUND", "PASS THE STRING")

    For example: when you run the above line you get output similar to result = [(2, 5), (11, 14)] each item are tuples, which contains the start index and end index of the word. you can use this tuple and by slicing the string you will have the word.

  • To replace any word from the string irrespective of length.

    result = rd.word_replacer("WORD TO REPLACE", "WORD TO BE REPLACED FOR", "PASS THE STRING")

    This returns a new string with a replaced character.

Feel free to contact me if you have any problem or looking for any new implementation or any idea/suggestion.

Metadata

Release files for regxdev 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for regxdev 1.0.0
File Size Uploaded Provenance Actions
regxdev-1.0.0.tar.gz 3.1 kB Without provenance Details for regxdev-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for regxdev 1.0.0
File Interpreter ABI Platform Actions
regxdev-1.0.0-py3-none-any.whl Python 3 none any Details for regxdev-1.0.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / regxdev-1.0.0.tar.gz

Download URL regxdev-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ceb33ac349dfbd1e093a94d4a5c2a7788c3b4df2c41da58d2360d65be09d58fc
BLAKE2b-256 checksum
How to use checksums
8a36c2d9e182fb48802a79ed467b9e7029fc74e9ca1f640ce6ea8617abf1afa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / regxdev-1.0.0-py3-none-any.whl

Download URL regxdev-1.0.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc2f9c46862b1bb789250d9707de3849a4894af4e472c9b470b563e784ef66c7
BLAKE2b-256 checksum
How to use checksums
7c3da2811dc730074fe5ed5d0b50adb7d54c4408062169a9e0984fa479c9af7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Security for regxdev 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page