Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Golang

`
(?:(\?=)|)(?:(?:( |\n|\r\n)|)(?:( |\t)|)|)(?: |)(=)(?:[A-Za-z0-9].*|)(\?(UTF|utf)\-8\?)([A-Za-z0-9]\?)
`
gm

Description

Check golang for presence of utf-8 char in rawEmail e.g. ?= =?UTF-8?Q? or =?3D?UTF-8?Q?

Submitted by oscarunix - 3 years ago