Chapter 13. Working with Text 1: Regular Expressions

The tools presented in the preceding few chapters have dealt with structured data, data organized into rows in a database or trees in the form of beans or XML. This chapter and Chapter 14 address tools for working with an important type of unstructured data: raw text.

Text appears within applications in a variety of forms and contexts. Text may exist within a larger structured context, such as a name, address, or description field in a database. Text may also live in large collections with minimal structure, such as a e-mail folders or hierarchies of directories of memos or reports. Applications may need to perform similar tasks in all these cases: determine whether a particular piece of text ...

Get Apache Jakarta and Beyond: A Java Programmer’s Introduction now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.