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 ...
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.
Read now
Unlock full access