Tutorials Point


  Java Basics Examples
  Java Tutorial
  Java Useful Resources
  Selected Reading

© 2011 TutorialsPoint.COM


  Home     References     Discussion Forums     About TP  

Java Regular Expression - Programming Examples


previous next AddThis Social Bookmark Button


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

  1. How to reset the pattern of a regular expression?

  2. How to match duplicate words in a regular expression?

  3. How to find every occurance of a word?

  4. How to know the last index of a perticular word in a string?

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

  6. How to remove the white spaces?

  7. How to match phone numbers in a list to a certain pattern?

  8. How to count a group of words in a string?

  9. How to search a perticular word in a string?

  10. How to split a regular expression?

  11. How to count replace first occourance of a String?

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

  13. How to validate an email address format?

  14. How to replace all occurings of a string?

  15. How to make first character of each word in Uppercase?



previous next Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names