Forum Discussion
Raja_Intuit_262
Nimbostratus
Nov 06, 2017Receive String Error: How do i write a regular expression for the below string
I would like to know the regular expression for the below receive string
{"Job Server Health Check":{"healthy":true},"Quartz Scheduler Health Check":{"healthy":true},"deadlocks":{"healthy":true}...
Simon_Blakely
Employee
Nov 06, 2017A Monitor Receive String should be a regex.
However, you are trying to match the plain text response, but it contains characters that could be part of a regex. The solution is to escape the offending characters
\{\"Job Server Health Check\":\{\"healthy\":true\},\"Quartz Scheduler Health Check\":\{\"healthy\":true\},\"deadlocks\":\{\"healthy\":true\}\}
However, I'd be tempted to not try to match the entire string, and just look for
\"Healthy\":true
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects