SqlScripts/06_EmailProfiler/E-Mail Profiler RegEX.txt

8 lines
939 B
Plaintext

E-Mail Profiler RegExes - Stand 18.05.2020
Regex Remove HTML-Context1:
\<title\>.{1,}\<\/title\>|<[^<>]{1,}>|&[\w\W]{1,6};|&#[\d]{2,4};
Regex Remove HTML-Context2:
<[^<>]{1,}>|&[\w\W]{1,6};|&#[\d]{2,4};|[a-zA-Z0-9\-_\.]{1,}@[a-zA-Z0-9\-_\.]{1,}|[\s]{0,}Von:[\s]{0,}.{0,}|[\s]{0,}wrote:[\s]{0,}[^##]{0,}|[\s]{0,}Datum:[\s]{0,}.{0,}|[\s]{0,}An:[\s]{0,}.{0,}|[\s]{0,}Betreff:[\s]{0,}.{0,}|Von meinem iPhone gesendet|Outlook for Android herunterladen|[\s]{0,}Am\s[\d]{2}\.[\d]{2}\.[\d]{4}\s.{1,}|[\s]{0,}On\ [a-zA-Z]{2,3}\,\ [a-zA-Z]{2,3}\s[0-9]{2}\,\s[0-9]{4}.{1,}\s|
>\s##.+|>.+##| \- Answer with \*Disaprove\* or \*Abgelehnt\* to neglect the invoice| - Direct answer will approve the invoice.| \*Please approve attached invoice.\*| \*ID #[0-9]{7}\*|>|##Please answer over this line##|ID #[0-9]{7}|Please approve attached invoice.|- Direct answer will approve the invoice.|- Answer with Disaprove or Abgelehnt to neglect the invoice