Learn to match literals with regular expressions.
- [Narrator] In this video, we'll examine literals…as patterns for regular expressions.…You probably used literals for search within a text editor.…These are the simplest types of regular expressions.…We'll also learn how to use Java's pattern…and matcher classes.…We'll start with this class preliminary data.…It contains a string called typing test,…which contains, "now is the time for all good men to join…arms and come to the aid of their country."…We also have a string called old song.…
Beachwood four, five, seven, eight, nine…and for our younger viewers, you may not know…that telephone numbers used to be recited as…B.E. four, five, seven, eight, nine.…In this case, before five, seven, eight, nine.…And finally we'll have a string called,…Hamlet, which contains the famous soliloquy,…"to be or not to be, that is the question."…I haven't included the entire soliloquy,…but perhaps my favorite line is,…to sleep perchance to dream.…
Let's take a look at the class Literal Pattern Test.…The class has a private instance of the Java class pattern…
- The IMQAV model
- Downloading software
- Installing and setting up a Java coding environment
- Mock tests
- Code coverage
- Using windows, views, and modes in IntelliJ IDEA
- Creating classes and attributes
- Creating constructors
- Casting variables
- Matching literals with regular expressions
- Regular expressions
- Design patterns
Skill Level Intermediate
Java: Database Integration with JDBCwith David Gassner2h 51m Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
1. Getting Started with Java
2. Test-Driven Development
3. IntelliJ IDEA
4. Object-Oriented Java
6. Regular Expressions (Regex)
8. Design Patterns
9. Applying Data Science
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.