Skip to Content
Java™ Phrasebook
book

Java™ Phrasebook

by Timothy Fisher
November 2006
Intermediate to advanced
224 pages
3h 29m
English
Sams
Content preview from Java™ Phrasebook

6. Pattern Matching with Regular Expressions

Regular expression support was introduced in Java JDK 1.4. Regular expressions specify patterns that can be matched within character sequences. Regular expressions are extremely useful in parsing strings, and will often save a programmer a lot of time and effort in performing a task in comparison to a solution that does not make use of regular expressions. Prior to being added to Java, regular expressions had been used for years by UNIX programmers. Standard UNIX tools such as Sed and Awk make use of regular expressions. Regular expressions are also commonly used in the Perl programming language. The addition of regular expressions to the JDK is a powerful addition to core Java capability.

In this ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ruby Phrasebook

Ruby Phrasebook

Jason Clinton
Wicked Cool Java

Wicked Cool Java

Brian D. Eubanks
Just Java™ 2

Just Java™ 2

Peter van der Linden
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0768668255Purchase book