Example:
//lang=regex
var pattern = "(Mr\\.???\\? |Mrs\\.? |Miss |Ms\\.? )";
//lang=json,strict
var json = """
{
"name": "TONY",
"age": 36,
"books":
[
{"Title": "ABC"},
{"Title": "DEF"}
]
}
""";
Sources:
JSON002: Probable JSON string detected - Visual Studio (Windows) | Microsoft Learn
See also:
.NET regular expressions
https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expressions
ReGex Generator
https://regex-generator.olafneumann.org/
regex101: build, test, and debug regex
https://regex101.com/