Easy-to-Use Regular Expression Support in C++?

Tags: c++ regex

I'm looking for a robust, easy-to-use, regular expression evaluator for native C++, either platform-independent or Windows-specific.


  • Can't use Boost or ACE regex libraries (unfortunately)
  • Can't use .NET Regex (or any managed code)

The main requirement is that it should be standalone and open.


C++11 and forward now contains the standard regular expression library.
Include the <regex> header, and use.

Now C++11 includes the support of regular expressions. It will be platform independant. You just need a recent compiler. Check that list to know which one to use.


Hope it helps

By : Gabriel

Qt has also a nice Regular Expression implementation QRegExp. It is also platform independent.

By : masc

This video can help you solving your question :)
By: admin