I'm having a little trouble figuring out what to do.
Basically using java I'm trying to:
- Reading in the html from a website
I want to find the content after a certain string in this case being
title="- Store that in a string.
The first and last steps are simple for me but I'm having no luck (and never had with regex).
I believe this is the beginning of what I need:
String regex = "(?<=title=\")\\S+";
Pattern name = Pattern.compile(regex);
After that I have no clue. Any help?