給定的文本,如:如何刪除不 - HTML標記 - CID
This is my reply. This is paragraph one.
This is paragraph two. Capture everything before me as this is the last sentence.
[cid:0BE7856F-9507-4AEA-854D-C01A6CFAF15F]
[cid:1DA3C231-846D-4490-9458-04A2484F4294]
[cid:33225087-994A-4FAF-B74D-5D56F334F29D]
什麼是去除CID標籤的最佳途徑,導致在短短的:
This is my reply. This is paragraph one.
This is paragraph two. Capture everything before me as this is the last sentence.
東西liek呢? body.sub(\ [cid:(。*)\],'')? – AnApprentice 2011-03-22 01:01:55
正則表達式喜歡'^ \ [cid:(。*)\] $' – Zabba 2011-03-22 01:24:26
編輯問題通常比留下評論更好。 – 2011-03-22 02:43:54