Java Regular Expressions
Cheat Sheet

A Quick Guide to Java Regex

A regular expression, or regex, is a sequence of characters that specifies a pattern which can be searched for in a text. A regex defines a set of strings, usually united for a given purpose.

This cheat sheet contains the most useful classes, API, and syntax definitions for Java regex.

Get Datasheet