PCRE –– tutorial part 2
Largely rewritten. Last update was 8 years ago.
Typos fixed, links updated or removed. Much of it reworded for readability. Incorrect explanations corrected. etc.
reworded and greatly simplified the first section: subpatterns.
Updated the example for preg_replace_callback()
as it was incomplete.