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
Key | Datatype | Required | Description |
---|---|---|---|
sampleValues | string | (Required) sampleValues | |
sampleValues | string | (Required) sampleValues | |
testValues | string | (Required) testValues | |
testValues | string | (Required) testValues |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"suggestPatterns":[{"schema":"sunt nulla","matches":["eu officia commodo ullamco","id do"],"schemaValid":false},{"schema":"qui eu sint","matches":["incididunt enim eu amet quis","occaecat pariatur sed ullamco laboris"],"schemaValid":false}]}