Skip to main content

Terry toolkit tkitRegex 正则合集 ,

Project description

tkit-regex-tools

tkit regex tools 正则合集

from tkitRegex import regex_plus
regexs=[
    {
        "regex_key":'follow_characters',
        "replace":''
    },
    {
        "regex_key":'email',
        "replace":'your_email_address'
    }
]
text="Here is our guide on how to 123@qq.com give 123@qq.com CBD oil to dogs. Follow us on Twitter @TriBeCa and @TriBeCaDog. Follow us on Facebook @TriBeCa and @TriBeCaDog."
print("replace:")
out=regex_plus(text,regexs=regexs,test=True,do="replace")
print(out)
print("match:")
for it in regex_plus(text,regexs=regexs,test=True,do="match"):
    print(it)

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

tkitRegex-0.0.0.116624593.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

tkitRegex-0.0.0.116624593-py2.py3-none-any.whl (18.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tkitRegex-0.0.0.116624593.tar.gz.

File metadata

  • Download URL: tkitRegex-0.0.0.116624593.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for tkitRegex-0.0.0.116624593.tar.gz
Algorithm Hash digest
SHA256 72aca61a676f88a3409c889ed561245f3e67a5abb281d353049b8629df7b6986
MD5 503563cecfbfad109d2d739d2f3ed3cc
BLAKE2b-256 0c7f88eab123495a3c3a96eb3919b26ba3326718496d9e6eaca228d8d71f685d

See more details on using hashes here.

File details

Details for the file tkitRegex-0.0.0.116624593-py2.py3-none-any.whl.

File metadata

  • Download URL: tkitRegex-0.0.0.116624593-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for tkitRegex-0.0.0.116624593-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 62b45714be71fd1434031642d5f7dc91d1a3ac78fe6415315917c47f513536d9
MD5 9ae7c7c117a40f9a24631bda97a42264
BLAKE2b-256 cc278d3e2df73c7f296aaac42197e5bf5ae13b6f181c5ed6649dfb19f2a28561

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page