created: 01/18/2010, revised 08/17/2016
The Java class String has several methods
that work with regular expressions.
This chapter uses the features of regular expressions explained in the previous chapters of these notes.
matches() methodString literalsreplaceAll() methodreplaceFirst() method split() method
This section assumes that you know the common methods
of the Java String class.
What strings are matched by
Daisy|Daisies