Native Swift Regex scratchpad
Know whether it matches.
Paste the data, type the pattern, and see the matches and errors live.
Buy once on the Mac App StoreUS$13.99Inspect the four states
The whole job
Work the pattern without guessing.
See captures 0–8
Show every match, then isolate the capture group I need.
Set the matching options
Use case-insensitive i, dot-matches-newlines s, and multiline-anchor m.
Copy it cleanly
Regex escapes backslashes and quotes on copy, then unescapes them on paste.
Live replacement preview
Preview, do not replace.
The live $0–$8 replacement preview is read-only. It never changes Test Data.
- See the replacement update while I type.
- Keep the pasted sample text untouched.
- Check the final replacement syntax in its destination.
One local workspace
Recovery stays off until I turn it on.
When enabled, Regex recovers one workspace from local app-sandbox storage on this Mac. I can clear it or turn recovery off at any time. Local device backups may include sandbox data.
Regex runs in English, German, French, Japanese, Simplified Chinese, and Latin-American Spanish.
Regex 2.4.2 · macOS 14.2+
A private Swift Regex scratchpad.
Patterns, Test Data, and replacement previews stay in the app. Regex has no uploads, account, cloud sync, network service, or app analytics. The MotionObj website uses Clicky and PostHog analytics. Read the Terms.
Regex tests Swift Regex behavior. I still check the final grep, sed, nginx, editor, or code path before using a pattern on important data.
Compare Regex with regex101 before choosing a workflow.