Generate Strings

Generate the given number of strings that can be matched by the provided term.

The maximum number of strings to generate is currently limited to 200.

Request

curl -X POST "https://api.regexsolver.com/api/generate/strings" \
    -H "Authorization: Bearer $REGEX_SOLVER_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"term":{"type":"regex","value":"(abc|de){2}"},"count":3}'

Response

{
  "type": "strings",
  "value": [
    "abcde",
    "dede",
    "deabc"
  ]
}