I connected to a site using URLConnection and the result I'm looking for is the url inside these parenthesis: callback_request("https://secure.runescape.com/m=displaynames/s=bOVZmsrjbNQzntbDei*324JUo*3ozJ7hR*h1KNlxc6kPaBeKCBrdKIxD*edhi4qH/check_name.ws?displayname=" + escape(text), handleResult);
The problem I'm having is the : s=bOVZmsrjbNQzntbDei*324JUo*3ozJ7hR*h1KNlxc6kPaBeKCBrdKIxD*edhi4qH is random each time--it's the session.
How can I use a regex expression to scan the page and look for https://secure.runescape.com/m=displaynames/(random_session_id)/check_name.ws?displayname=?