Hello, and welcome back. In this part, I’m going to discuss greedy and…
In this part, we are going to discuss a very powerful technique in regular expression called Look-ahead.
The basic idea of look-ahead is similar in some situations in real life. For instance, you want to visit a friend, but you are not sure whether…
Java RegEx: Part 8 — Backreferences
In this part, we are going to explore another advanced technique supported in a regular…
Keep implementing our project
Task 10: solution for BookListWithArray.add()
Here is one possible solution for the add() method:
add()
Consider the following cases:
We want to search for a sub-string, but only if it appears at the beginning or at…
Java RegEx: Part 10 — Look-Behind
In the last part, we had some examples using look-ahead techniques.