Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3522 มุมมอง

I searching a way to parse the incoming mail to odoo - helpdesk.

How can I parse the html text there correctly?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Wizardz,


You Customize the Method and use Regular Expression to Parse html text


Ex.

plain_text = re.compile(r'<.*?>').sub('','your text')


Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
เม.ย. 23
3031
0
ก.ย. 19
4379
0
ส.ค. 16
2966
1
พ.ค. 16
3706
3
ก.พ. 16
11382