Skip to main content

Regular Expressions

  • Chapter
Java I/O, NIO and NIO.2
  • 2303 Accesses

Abstract

Text-processing applications often need to match text against patterns (character strings that concisely describe sets of strings that are considered to be matches). For example, an application might need to locate all occurrences of a specific word pattern in a text file so that it can replace those occurrences with another word. NIO includes regular expressions to help text-processing applications perform pattern matching with high performance. This chapter introduces regular expressions.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

ch09 (zip 1 kb)

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Jeff Friesen

About this chapter

Cite this chapter

Friesen, J. (2015). Regular Expressions. In: Java I/O, NIO and NIO.2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1565-4_9

Download citation

Publish with us

Policies and ethics