See examples of regular expressions in action, for analyzing social security numbers, zip codes, phone numbers, and email data.
- [Instructor] We'll conclude this chapter…with two examples of regular expressions that are available…on Lars Vogel's website.…Notice that I've modified the Java doc…for this class to include a citation…to Lars' web page.…It's considered good practice to include a citation…when you use other people's work.…Also, it might help people who are reading your work…to find more information about a particular topic.…In this case, we see he set up a situation,…where he has one method test.…
It takes a string and…it uses the string within the matcher.…And he uses a particular search pattern, //d3.…Let's see what happens when we run the test.…What this indicates is that all the insertions…within Lars' code are correct.…So, what's he saying is first,…when he starts with the string,…one, two, three, three, assert true,…it will be found.…Assert false for zero,…assert true for 29 and his address.…
And finally, assert true…for 99900234.…Here's a slightly more complicated pattern.…Lars set up a pattern for phone numbers…and then he passes these strings.…
- 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.