Java
integrating with regular expressions,
21–41
confirming addresses example,
33–37
confirming dates example,
27–30
confirming phone number formats example,
22–25
confirming zip codes example,
25–27
finding duplicate words example,
38–41
Java.util.regex object model,
55–115
Matcher object
appendReplacement method,
98–102
date validation with,
44–46
and finding duplicate words,
38–40
and Pattern.matches method,
64–65
replaceFirst method,
105–6
vs. String.matches method,
53
and String.replaceAll method,
109
and String.replaceFirst method,
108
CASE_INSENSITIVE field,
57
delimiting strings,
106–7
replaceFirst method,
108–9