Search
Test a regular expression with PHP preg_match or preg_match_all and inspect capture groups.
Example links fill the form. Test runs on the server and is not stored in the URL.
This runner uses PHP PCRE, the same engine as preg_match. Add delimiters yourself (/pattern/i) or paste a raw pattern and the tool wraps it. Testing is a POST so the pattern is not stored in the URL; example links only fill the form. Backtrack and recursion limits are lowered for the request so a greedy pattern fails instead of hanging the worker. Errors come from preg_last_error_msg().
Laravel Str Helper Playground
Try Laravel Str helpers such as slug, snake, kebab, mask, and limit on a sample string.
Cron Expression Generator
Build, translate, and preview a 5-field cron schedule. See a human description and the next run times.
JSON to PHP Array Converter
Convert JSON into PHP short-array syntax and a starter Eloquent model with fillable attributes and inferred casts.
From the blog
preg_match versus preg_match_all, and how to test without hanging PHP
Same PCRE engine, different return shape. Cap the pattern and read preg_last_error_msg().
From the blog
Use Str::slug before you write another regex
Illuminate Str helpers cover slugs, case, masking, and limits. They are easier to test than a one-off pattern.