跳至內容
選單
此問題已被標幟
1 回覆
3422 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 23
2893
0
9月 19
4134
0
8月 16
2853
1
5月 16
3581
3
2月 16
11242