The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

  • Category upJava
  • Category upJava String
  • Category upAlgorithms
  • Category upNetworking
  • Category upGroovy

Tag: Regex

Learn how to use regular expressions through the guides below.

>> Capitalize the First Letter of a String in Java

  • popular

>> Check if a String Is Strictly Alphanumeric With Java

>> Creating Stream of Regex Matches

>> Check if Letter Is Emoji With Java

>> Assert Regex Matches in JUnit

>> Extract CN From X509 Certificate in Java

>> Get the Indexes of Regex Pattern Matches in Java

>> Extract Text Between Square Brackets

>> Check if a String Contains Non-Alphanumeric Characters

>> Split a String Into Digit and Non-Digit Substrings

>> Regular Expression: \z vs \Z Anchors in Java

>> Remove Punctuation From a String in Java

>> Getting the Text That Follows After the Regex Match in Java

>> Find the First Embedded Occurrence of an Integer in a Java String

>> Validating IPv4 Address in Java

>> Guide to Splitting a String by Whitespace in Java

>> Retain Only Digits and Decimal Separator in String

>> Remove Whitespace From a String in Java

>> Find Files That Match Wildcard Strings in Java

>> Creating a Java Array from Regular Expression Matches

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next →
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Spring Tutorial
  • Spring Framework Introduction
  • Learn Spring Boot Series
  • Get Started with Java
  • All About String in Java
  • Java IO Series

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo