The QRegularExpressionTester is a tool designed for testing regular expressions on text input with the class QRegularExpression. It provides a user-friendly interface that allows users to enter a regex pattern, adjust options, input text, and instantly see the matching results, including captured groups. The app supports syntax highlighting to visually emphasize matches and groups within both the input and output text fields.
Download release binaries Link to binaries
OR
Build it yourself
- Clone this repository
- Open QRegularExpressionTester\QRegularExpressionTester.pro in Qt Creator
- Compile the projects
- Start QRegularExpressionTester
- Regular Expression Enter your desired regex pattern.
- QRegularExpression Options Adjust various regex options such as "Case Insensitive" or "Multi line."
- Test String Input the text on which the regex pattern should be applied.
- Result Display Real-time display of all matches and captured groups.
- Syntax Highlighting Highlights matches and groups in the input and output text fields.
- Enter Regular Expression Pattern Type or paste your regex pattern into the respective field at the top.
- Adjust QRegularExpression Options Click on the button "Show QRegularExpression Options" and enable the desired options.
- Enter Test String Type or paste the text into the large text input field.
- View Results The results, including matches and captured groups, are displayed in real-time on the right side and will be colorized for better visibility.
- Save and Load Patterns and Texts
- Regex Examples and Suggestions
- Syntax Highlighting in Regex Patterns
- Input History for Texts and Patterns
Enjoy using the QRegularExpressionTester! For questions or issues, please create an Issue.