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 in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regular Expressions in Java" Watch "Regular Expressions in Java" New topic

Regular Expressions in Java

Jules Parry

Joined: May 29, 2002
Posts: 2
Is there a way of implementing Perl style regular expressions in Java?
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
With Java 2 v1.4, Sun included the java.util.regex package. Take a look at the September 2002 JavaRanch Newsletter and the February 2003 Java 101 JavaWorld article for easy introductions to the package.
Many alternative regex packages are available. Take a look at the list put together by the author of Mastering Regular Expressions (Second Edition).

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Regular Expressions in Java
It's not a secret anymore!