import_codes_to_list
This commit is contained in:
@@ -45,6 +45,12 @@ def isNeedHtml(html):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
# erab
|
||||
def remove_arabic_diacritics(text):
|
||||
# Regular expression to match all Arabic diacritics
|
||||
diacritics_pattern = r'[\u064B-\u0652\u0670]'
|
||||
return re.sub(diacritics_pattern, '', text)
|
||||
|
||||
|
||||
def removeHtmlTags(html, exeptionTag=[]):
|
||||
|
||||
Reference in New Issue
Block a user