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.

About Our Java Regular Expressions Cheat Sheet

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

  • Character classes
  • Boundary matches
  • Pattern Flags
  • Patterns
  • Matchers
  • Quantifiers
  • Groups and Backreferences
  • Logical Operations

How much time can JRebel save you? See how it cuts down development time by skipping redeploys by trying it free for 10 days, or calculate your ROI first!

TRY FREE   FIND MY ROI

Download the Cheat Sheet

Ready to download the Java regular expressions cheat sheet? Click the button below to download the printable pdf version.

Want to improve performance on your Java microservices applications? See how techniques like service throttling, database caching, asynchronous calls, and resilience patterns can help you achieve your microservices performance goals.

Download White Paper