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

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
3266
0
سبتمبر 19
4602
0
أغسطس 16
3107
1
مايو 16
3891
3
فبراير 16
11566