Java Regex Tester API
Test a Java (java.util.regex) regular expression against sample text — find(), matches() or lookingAt() results with match positions, capture groups, replaceAll output and a Pattern.compile snippet.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Java Regex Pattern
Matcher method
find, matches, lookingAt CASE_INSENSITIVE
MULTILINE — ^ and $ match at each line
DOTALL — . matches line terminators
COMMENTS — ignore whitespace and # comments
LITERAL — treat the pattern as plain text
Input Text
Replacement (optional)
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.