Skip to main content
Menu
T-Regx
Tutorial
Blog
Compare
Help
Try online
ChangeLog
GitHub
🌜
🌞
Search
T-Regx
Tutorial
Blog
Compare
Help
Try online
ChangeLog
GitHub
Menu
About
What's T-Regx?
Kick Start
Installation
Introduction
Start with SafeRegex
Migrate to T-Regx
Matching
Match a subject
First occurrence
Optional matches (Find first)
Iterate matches (For each)
Map occurrences
Map with keys (Flat map)
Match Details
Match details
Capturing groups
Match offsets
Inline groups
Handling integers
Replacing
Replacing a string
Replace with a constant value
Replace with callback
Replace by group
Replace by map
Prepared Patterns
Handling user input
Prepared Patterns - User input
Composite Pattern
Misc
Automatic delimiters
Count occurrences
T-Regx Utilities
Quote regular expression
Validate a pattern
Split a string
Filter an array
Iterator
Exceptions
Exceptions overview
Advanced
Capturing groups - in depth
Capturing groups - J modifier
Advanced replace details
Prepared Patterns in details
PHP Hate
Why PHP sucks?
Handling integers
Last updated on
4/12/2020
Previous
« Inline groups
Next
Replacing a string »