Chapter 24. Using Regular Expressions

DO OR DIE

  • Straight Cs

  • Blow this taco stand the minute I graduate

  • Stay sweet

Regular expressions are fiendish things. However, sometimes you need 'em. Luckily, the Java API introduced in 1.4 made working with them a good deal easier. In this topic, we will do a brief overview of the regex for the uninitiated (thank you sir; may I have another). Next, we'll see the facility that Java makes available for using them. Then we'll use them. Then we'll be done so we'll stop.

Get Java Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.