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;sunt nulla&quot;,&quot;matches&quot;:[&quot;eu officia commodo ullamco&quot;,&quot;id do&quot;],&quot;schemaValid&quot;:false},{&quot;schema&quot;:&quot;qui eu sint&quot;,&quot;matches&quot;:[&quot;incididunt enim eu amet quis&quot;,&quot;occaecat pariatur sed ullamco laboris&quot;],&quot;schemaValid&quot;:false}]}