Title: Java-Regular Expressions-Lesson 4
Duration: 20 minutes
Summary: This Java video is a supplement to the Java concepts that we are covering on the Java Developer exam. It illustrates some key concepts of working with strings and regular expressions. We will see how we can split strings and replace their content based on a certain match using the replaceAll() method. Then, we will work with patterns. We create a Pattern that we need to match against, and a string containing some scores. We run the string against the pattern that we create and print out the matches.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Java – Regular Expression.
Keywords: Java, Scanner, nextLine(), split(), replaceAll(), printf(), Pattern, compile, Matcher, find(), group().












See the prices for this post in Mr.Bool Credits System below: