Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2020-08-10 21:36
Flavor·PCRE (Legacy)

/
[\w\-]+\.[\w\-]+\.(?>phl1|aus2)
/
gm
Open regex in editor

Description

finds patterns like ..(phl1|aus2) in the log, trying to find all host names.

Submitted by anonymous