Why does this text match the pcre? As I read it, there must be a line break after the underscores to match, but it's matching. Does . match linebreaks?:
Text: "For Testing Only: __________________________ xxxxxxx From: My Name <g...@test.com> To: any one <any....@whatever.com> " PCRE rule: /____________________*[\s\n\r]*(.*) (.*)@test.com/ REJECT testing