ENGINEERING / REGEX TRAINER

WRITE THE
DETECTION.

Practice writing actual JavaScript regex for fictional data. Test expressions against labeled examples, see false positives and misses, and unlock progressively harder DLP challenges.

01 / REGEX EXERCISES

Pattern vs. context.

Expressions are executed against local, bounded test strings only. These challenges use simplified examples; a regex alone is not a production-grade SSN or PCI classifier.

Limit: 220 characters; test strings are short. This is a learning sandbox, not a general-purpose untrusted-regex execution service.

Detection report

Fictional sampleExpectedDetected