I want to create RegEx validator for my JSON response data, but I could not create successfully. What I am doing wrong? Please help me in this regards, thanks.
If service returns an error, response json must be as follows;
{
 "status":"error",
 "error":{
   "connection timeout"
 }
}
If service returns a success, response json must be as follows;
{
   "status":"success",
   "result":{
      "username":"msmumbucoglu",
      "password":"123456",
      "name":"Hacked By Mehmet:)"
   }
}
My regex is as follows:
(?:"status":")|(?:"result":")|(?:"error":")(.*?)(?:")
 
     
    