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

Java Regular Expressions

Abiodun Okusolubo
Ranch Hand

Joined: Apr 25, 2004
Posts: 72
I need a good book for java regular expressions. The only book found on Amazon is Java Regular Expressions: Taming the java.util.regex Engine (Paperback) by Habibi. The problem is this book has been heavily critized by some of the earlier users. If anyone knows a better book, pls I need some information about it.

Thanks.


SCJP, SCWCD, SCJD : in the making.
Alan Moore
Ranch Hand

Joined: May 06, 2004
Posts: 262
The best book you can get is Mastering Regular Expressions, 2ed., by Jeffrey Friedl. It uses examples from several languages, but it also has a chapter devoted to Java.

There's also a good tutorial at this site. Like the Friedl book, it's language-neutral, but has a page in the reference section devoted to Java.
Abiodun Okusolubo
Ranch Hand

Joined: Apr 25, 2004
Posts: 72
Thank you very much Alan, I'll take a quick look at the text-book at my local library then I can consider buying one.

cheers
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
At the risk of tooting my own horn toot toot, there's also a fairly good regex book, which is primarily focused on Java, out there. While it's true that there have been a few detracting comments recently, the majority of the feedback is very positive, I think(4/5 starts). You can find a link in my signature.

best,
M
[ August 18, 2005: Message edited by: Max Habibi ]

Java Regular Expressions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Regular Expressions
 
Similar Threads
I need some information regarding Validating URLs using regular expressions
Need regex to solve
For Validating urls in java the information is needed
Question for Mr.Herbert Schildt
SWIFT Message Format Check Using Java