The TPerlRegex classes (available at the link above) work fine in C ++ Builder. See the section on the middle of the page for older versions of Delphi. Best of all, they are free with the complete Delphi source, which will also compile in Builder.
The components / classes are based on PCRE and actually include the C source for .obj files that are used when compiling that do not require DLLs, but you can also use it without .obj files by compiling to require DLLs and distributing DLLs with your application.
The associated application with this RegexBuddy website can generate strong C-based code for regular expressions or it can generate Delphi code (or C ++ Builder XE, which can be easily made to work with Builder 6 if you remember that Builder XE is based on Unicode, and Builder 6 - no). (I am not affiliated with RegexBuddy, I have just been a user since version 1 was released.)
Here is an example of RegexBuddy 3 C (PCRE) support:

source share