I am trying to pull names off of a website--the names are all in caps so it seemed like it would be easy but I am getting a lot of extra text. I tested a solution that worked great in
http://regexpal.com, but will not work in processing
here is my regex equation
"(?!LOW)([A-Z][A-Z][A-Z]+)"
I want words that are all caps, three letters or longer, and not the word LOW
What I am getting are lots of single letters (probably pulled from the start of sentances) and the word LOW
Here is my code:
import prohtml.*;
import java.util.regex.*;
PrintWriter txtfile;
HtmlList htmlList;
void setup(){
size(100,100);
//enter your url here
htmlList = new HtmlList("http://nuclearweaponarchive.org/Usa/Tests/Nevada.html");