I called it simple approach, as the example I will be putting up is very simple. This is actually the code that I played with when I was reviewing my SCJP exam. It display regex processing using the Pattern, Matcher and Scanner class.
Download it here!
Enjoy!
