I am currently getting response error in html format. It is of type string.
"<!DOCTYPE html>\r\n
<html>
<head>
<title>Data already exists</title>
</head>
</html>"
I wanted to retrieve the content inside the <title>
, for above instance "Data already exists". Can anybody suggest a appropriate regular expression to capture that text.
Please any help is appreciated!