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

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
3280
0
ก.ย. 19
4604
0
ส.ค. 16
3107
1
พ.ค. 16
3894
3
ก.พ. 16
11577