D has regular expression support in Phobos in std.regexp.
The Digital Mars regular expression engine is common to DMC amd DMD.
Example: Regular Expressions Example
An alternative RE class that can be used in D instead of the std.regexp:
- EasyPCRE (Perl Compatible)
- Regular Expression HOWTO (for Python)
- Perl Regular Expressions Tutorial
- Kodos: The Python Regex Debugger