Easily Use Regular Expressions in Your wxWidgets Applications

The wxRegEx Class

The wxWidgets library provides a wxRegEx class that encapsulates the “Advanced Regular Expressions” flavor originally developed for the Tcl scripting language. The wxRegEx class provides an easy way to find the first regex match in a string (a wxString, that is). The Replace() method allows you to search-and-replace any number of matches.

Though wxRegEx does not provide methods for listing all matches or splitting strings, these are easily implemented with a bit of C++ code. RegexBuddy can instantly generate this code for you.

      
Only US$ 39.95
Windows XP, Vista, 7, 8, 8.1, 10, and 11
100% satisfied or money back

See How Easy Coding with Regexes Can Be

First, use RegexBuddy to define a regex or retrieve a regexp saved in a RegexBuddy library. Rely on RegexBuddy’s clear regex analysis, which is constantly updated as you build the pattern, rather than dealing with the cryptic regex syntax on your own. Detailed help on that syntax is always only a click away.

If you copied a regex written for another programming language, simply paste it into RegexBuddy, select the original language, and then convert the regex to wxWidgets.

If you created a new regular expression, test and debug it in RegexBuddy before using it in your source code. Test each regex in RegexBuddy’s safe sandbox without risking precious data. Quickly apply the regex to a wide variety of input and sample data, without having to produce that input through your application.

Finally, let RegexBuddy generate a source code snippet that you can copy and paste directly into whichever IDE or C++ code editor you use. Just choose what you want to use the regex for, and a fully functional code snippet is ready. You can change the names of variables and parameters to suit your naming style or the current situation, which RegexBuddy automatically remembers.

Don’t bother trying to remember the wxRegEx method calls and the parameters they require. And don’t worry about properly escaping backslashes and quotes. Just tell RegexBuddy what you want to do, and you will get the proper C++ code straight away.

Let RegexBuddy Make Regex Easy for You