RegexSolverRegexSolver
  • Live Demo
  • Docs
  • Pricing
  • Open Source ↗
  • Console ↗
Console ↗
  • Docs
  • API Reference
HELP
  • Documentation
  • Report an issue ↗
RESOURCES
  • Developer console
  • GitHub ↗
LEGAL
  • Privacy policy
  • Terms & conditions
RegexSolverRegexSolver

© 2026 REGEXSOLVER · ALL RIGHTS RESERVED

QuickstartAll OperationsSync and Async ClientsPlans and Pricing
Core Concepts
Guides
Advanced Usage
API Reference
Docs

All Operations

Every operation RegexSolver offers, named as in the API Reference and grouped by tag.

Compute

These take one or more terms and return a term. The returned term is a valid input to any other operation, so you can feed it into the next call instead of converting it back to a pattern first.

OperationDescriptionJavaJavaScriptPython
UnionCompute the union of the given termsunionunionunion
IntersectionCompute the intersection of the given termsintersectionintersectionintersection
DifferenceCompute the difference between the two given termsdifferencedifferencedifference
ComplementCompute the complement of the given termcomplementcomplementcomplement
ConcatenationConcatenate the given terms in orderconcatconcatconcat
RepeatRepeat a term between min and max timesrepeatrepeatrepeat
DeterminizeCompute a deterministic FAIRdeterminizedeterminizedeterminize

See Union, Intersection, Difference and Complement, Concatenation and Repetition and Determinism.

Analyze

These return a boolean, a number or a string, and never modify the term. The ones taking a single term cache their answer on that Term instance; Equivalent and Subset compare two terms and are not cached. See Best Practices.

OperationDescriptionJavaJavaScriptPython
EmptyCheck if the term matches no stringsisEmptyisEmptyis_empty
TotalityCheck if the term matches all the possible stringsisTotalisTotalis_total
Empty String OnlyCheck if the term matches only the empty stringisEmptyStringisEmptyStringis_empty_string
CardinalityCompute how many strings the term matchesgetCardinalitygetCardinalityget_cardinality
LengthCompute the minimum and maximum length of strings matched by the termgetLengthgetLengthget_length
EquivalentCheck if the two terms accept exactly the same languageequivalentequivalentequivalent
SubsetCheck if the first term's language is a subset of the second term's languagesubsetsubsetsubset
DeterministicCheck if the term's automaton is deterministicisDeterministicisDeterministicis_deterministic
PatternReturn a regular expression pattern that represents the termgetPatterngetPatternget_pattern
Graphviz DOTBuild a Graphviz DOT representation of the term's automatongetDotgetDotget_dot

See Analyzing a Term, Equivalence and Subset and Term's Format.

Generate

OperationDescriptionJavaJavaScriptPython
StringsGenerate up to limit distinct strings matched by the term, skipping the first offsetgenerateStringsgenerateStringsgenerate_strings

See Generate Strings and String Generation Ordering.

Account

OperationDescriptionJavaJavaScriptPython
LimitsReturn the plan limits applying to the accountgetAccountLimitsgetAccountLimitsget_account_limits

See Plans and Pricing.

Local, without an API call

matches checks whether a single string belongs to a Term's language. It runs locally and needs the Term's pattern to be resolved first. See Matching strings locally.

Calling the API directly

If you are not using a client library, the API Reference documents each operation as an endpoint, with its request body, response shape and errors.

Last modified on August 8, 2026
QuickstartSync and Async Clients
On this page
  • Compute
  • Analyze
  • Generate
  • Account
  • Local, without an API call
  • Calling the API directly