I am new to C# regex. I have the following JSON string. I want to remove quotes around "true" or "false", whenever they occur, within this string so that these values become JSON boolean types instead of strings.
"{"email":"johnq@gmail.com","firstName":"John","lastName":"Quinton","moreThanFiveYears":"false","member":"true","insertDate":"2019-04-14 17:28:40"}"
"{"email":"johnq@gmail.com","firstName":"John","lastName":"Quinton","moreThanFiveYears":false,"member":true,"insertDate":"2019-04-14 17:28:40"}"
The first string is the one I currently have. I want to change it to the second one. I know how to remove quotes from the start and end of a string, but not sure how to remove from words within a longer string and moreover the words in question (true/false) can occur at multiple times.