I have a PHP script which prints something like "online" "offline" and a specific number which change in a specific time. I found an example for a http get request, and now I need something like Regex I think, right? :o Does anyone have a tutorial or can give me a simple example?
The code of the request:
String urlString;
urlString = "hear is my url^^";
URL url = new URL(urlString);
URLConnection conn = url.openConnection();
InputStream IS = conn.getInputStream();
The Inputstream IS is the "sourcecode" of the website, right?