Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-11-30 13:26
Flavor·PCRE (Legacy)

`
^(.*?) +(.*?) +(.*?) +\[(.*?)\] +\[(.*?)\] +(.+)$
`
gm
Open regex in editor

Description

Though in Athena you would need two backslash instead of one as listed above in Regex. expression in Athena. "input.regex" = '^(.?) (.?) (.?) \[(.?)\] \[(.*?)\] (.+)$'

Submitted by Chirag Parikh