Home Whiteboard Graphing Calculator Online Compilers Articles Tools

Explore Categories

Find the perfect tutorial for your learning journey

Python TechnologiesDatabasesComputer ProgrammingWeb DevelopmentJava TechnologiesComputer ScienceMobile DevelopmentBig Data & AnalyticsMicrosoft TechnologiesDevOpsLatest TechnologiesMachine LearningDigital MarketingSoftware QualityManagement Tutorials View All Categories
Tutorials Courses Jobs Login
Java Programming Examples
  • Example - Home
  • Example - Environment
  • Example - Strings
  • Example - Arrays
  • Example - Date & Time
  • Example - Methods
  • Example - Files
  • Example - Directories
  • Example - Exceptions
  • Example - Data Structure
  • Example - Collections
  • Example - Networking
  • Example - Threading
  • Example - Applets
  • Example - Simple GUI
  • Example - JDBC
  • Example - Regular Exp
  • Example - Apache PDF Box
  • Example - Apache POI PPT
  • Example - Apache POI Excel
  • Example - Apache POI Word
  • Example - OpenCV
  • Example - Apache Tika
  • Example - iText
  • Java - Tutorial
  • Java Useful Resources
  • Java - Quick Guide
  • Java - Useful Resources
Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Online Resume Builder
  • HR Interview Questions
  • Computer Glossary
  • Who is Who
Home Javaexamples Java Regular Expression - Programming Examples

Java Regular Expression - Programming Examples



Previous
Quiz
Next

Learn how to use regular expression in Java programming. Here are most commonly used examples −

  • How to reset the pattern of a regular expression?

  • How to match duplicate words in a regular expression?

  • How to find every occurance of a word?

  • How to know the last index of a particular word in a string?

  • How to print all the strings that match a given pattern from a file?

  • How to remove the white spaces?

  • How to match phone numbers in a list to a certain pattern?

  • How to count a group of words in a string?

  • How to search a particular word in a string?

  • How to split a regular expression?

  • How to count replace first occourance of a String?

  • How to check check whether date is in proper format or not?

  • How to validate an email address format?

  • How to replace all occurings of a string?

  • How to make first character of each word in Uppercase?

Previous Quiz Next
Advertisements
  • ABOUT US
  • OUR TEAM
  • CAREERS
  • JOBS
  • CONTACT US
  • TERMS OF USE
  • PRIVACY POLICY
  • REFUND POLICY
  • COOKIES POLICY
  • FAQ'S
tutorials point logo
Download Android App Download IOS App

Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical and non-technical subjects.

Copyright 2026. All Rights Reserved.