Like This Site? 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Regular Expressions in Java : Complete Tutorial

Share this post!
 Vote this!

A regular expression is a kind of pattern that can be applied to text (String, in Java). Java provides the java.util.regex package for pattern matching with regular expressions. Java regular expressions are very similar to the Perl programming language and very easy to learn.

A regular expression either matches the text ( or a part of it) or it fails to match.
* If regular expression matches a part of text then we can find it out which one.
** If regular expression in complex, then we can easily find out which part of the regular expression matches with which part of the text.


Post a Comment