Generates the regular expression patterns for a given set of sample values

POST {{baseUrl}}/suggestPatterns?sampleValues=<string>&sampleValues=<string>&testValues=<string>&testValues=<string>

Generates the regular expression patterns for a given set of sample values. In this case sampleValues generates a number of regex patterns and tries to match with patterns provided in testValues. The response contains any of testValues that matches sampleValues as probable pattern match.

Request Params

KeyDatatypeRequiredDescription
sampleValuesstring(Required) sampleValues
sampleValuesstring(Required) sampleValues
testValuesstring(Required) testValues
testValuesstring(Required) testValues

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;suggestPatterns&quot;:[{&quot;schema&quot;:&quot;cillum ea enim&quot;,&quot;matches&quot;:[&quot;amet id irure ut&quot;,&quot;reprehenderit quis &quot;],&quot;schemaValid&quot;:false},{&quot;schema&quot;:&quot;eiusmod eu&quot;,&quot;matches&quot;:[&quot;qui labo&quot;,&quot;consequat laborum&quot;],&quot;schemaValid&quot;:true}]}