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

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
2933
0
سبتمبر 19
4179
0
أغسطس 16
2878
1
مايو 16
3595
3
فبراير 16
11291