Quiz about Vanilla-PHP regular expressions
Super easy, see for yourself how well you know Vanilla-PHP regular expressions. Maybe it turns out you don't need T-Regx, after all :)Start quiz
SafeRegex converts warnings to exceptions
SafeRegex watches for warnings, analyzes
preg_() methods return values and looks up
preg_last_error() to validate a call. If it fails, an exception is thrown.
pattern()->replace(), it's trivial to retrieve, iterate, map and filter matches with callbacks and a detailed
Uniform API for matching and replacing
pattern()->replace() callbacks receive the same interface
Detail used for matching and replacing has exactly the same methods and returns the same values for given
With Prepared Patterns you can safely build your regular expressions, without worrying about it becoming malformed or dangerous.
T-Regx provides a wide variety of prepared patterns, for different needs:
Apart from standard functional methods, T-Regx provides dedicated methods, suited more for working with
strings and capturing groups from T-Regx, like
Try T-Regx online
Before you install, you can try T-Regx online, right in your browser.
You can use repl.it using your GitHub account, Facebook account or Google account -T-Regx on repl.it
Written with clean design in mind
T-Regx utilises well designed interfaces, so your IDE will aid you as you type! We follow real SOLID and OOP.