Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
\[.*\] (.*)(?::| (?:[\u203a\u00BB>])) (.*)
/

Description

basically parses Minecraft CUSTOM chat messages. it can parse: [rank] username: message [rank] username > message [rank] username › message [rank] username » message

Submitted by anonymous - 2 years ago