Browse Source

Regex pattern for special character

master
venkataakhil 1 year ago
parent
commit
c4aefa3929
  1. 2
      smart_service/transactions/doctype/procedure/procedure.py

2
smart_service/transactions/doctype/procedure/procedure.py

@ -15,7 +15,7 @@ class Procedure(Document):
for x in self.get("procedure_details"):
if x.content:
# try:
pass
# title = x.content.encode('cp1252').decode('UTF-8')
# frappe.msgprint(str(x.as_dict())+":" +str(title))
res_str = re.sub("–", "", x.content)

Loading…
Cancel
Save