Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-08-02 20:59
Flavor·PCRE2 (PHP)

/
([a-zA-Z0-9_]{2,16}) issued server command: \/(w|tell|msg|message|whisper) ([a-zA-Z0-9_]{2,16}) ([^\n]+)
/
gm
Open regex in editor

Description

This regex lets you extract all the uses of the whisper command in Minecraft log files.

Submitted by anonymous