Metadata-Version: 2.1
Name: tkitRegex
Version: 0.0.0.116624593
Summary: Terry toolkit tkitRegex 正则合集 ,
Home-page: https://github.com/napoler/tkit-regex-tools
Author: Terry Chan
Author-email: napoler2008@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE

# tkit-regex-tools
tkit regex tools 正则合集





```python
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)


```

