Little Java Regex Cookbook

Thu, 09 Jul 2020 14:50:19 +0200

Regular expressions, or short “regex”, are a pattern of characters and metacharacters that can be used for matching strings. For example, the pattern “gr[ae]y” matches both the strings “gray” and “grey”.