File size: 222 Bytes
21d29cb
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import re

LATIN_WITH_SPECIAL_REGEX = re.compile(
    r"(\b(?!URL|EMAIL|PHONE|NUMBER|CUR|LATIN\b)[0-9a-zA-Z]+)"
)

LATIN_REGEX = re.compile(
    r"([0-9a-zA-Z]+)"
)

LATIN_SPACES_REGEX = re.compile(
    r"([0-9a-zA-Z])"
)