تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3535 أدوات العرض

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
أبريل 23
3042
0
سبتمبر 19
4389
0
أغسطس 16
2977
1
مايو 16
3714
3
فبراير 16
11402