File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Regular Expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regular Expressions" Watch "Regular Expressions" New topic

Regular Expressions

Ramesh Etta
Ranch Hand

Joined: Sep 18, 2007
Posts: 47
What are regular expressions in java? How to use thme? Can any one give examples of those?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Regular expression in Java aren't different from regexps in other languages. They use the Perl syntax for the most part. Or are you looking an introduction to regexps in general? Then is for you.

Examples of using the java.util.regex package can be found here.
I agree. Here's the link:
subject: Regular Expressions
jQuery in Action, 3rd edition