i am trying to read from a webpage and get the last modified date from meta. for example
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="last-modified" content="Mon, 17 Sep 2012 13:57:35 SGT" />
</head>
i am reading line by line, how can i build the regex in this case? I am fairly new to the regex. i have tried
line.matches("<meta http-equiv=\"last-modified\" content=\"(\w)*\" /> ");
but do not think it is correct.