O'Reilly logo

Java Garage by Eben Hewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Purpose of Regex

If you're already Mr. Big Deal Regex Guy[1] and just want to know how Java does it, skip this section. Else, continue.

[1] I would like to take this opportunity to acknowledge our female readers within the programming community. Please note that throughout this book, for each reference to “x guy”, where x refers to some technology, let “guy” refer to a member of either gender. I hope that this is accepted usage here, as such use colloquially seems generally accepted. For example, “Hey, are you guys going to lunch with us?” spoken cheerfully to one's male and female coworkers, or, “Uh, when did you guys get back from Reno—I thought you weren't gunna be home til Sunday,” when referring directly to one's own parents.

A regular expression ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required