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

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
3553
0
سبتمبر 19
4984
0
أغسطس 16
3312
1
مايو 16
4167
3
فبراير 16
11873