MainWindow 0 0 1081 600 PyRex :/icons/icons/icon.ico:/icons/icons/icon.ico background-color: rgb(225, 225, 225); 0 0 0 0 0 background-color:rgb(255, 85, 0); min-height:40; max-height:40; 6 min-width:30px; max-width:30px; min-height:30px; max-height:30px; :/icons/icons/logo.png true Qt::Horizontal 40 20 27 27 27 27 QPushButton#CodeGeneratorPushButton { min-width: 25px; max-width: 25px; min-height: 25px; max-height: 25px; background-color: rgba(255, 255, 255, 0%); border:1px; border-color: rgb(255, 85, 0); border-style: solid; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius:5px; } QPushButton#CodeGeneratorPushButton:hover { background: rgb(255, 119, 51); } QPushButton#CodeGeneratorPushButton:pressed { background: rgba(255, 255, 255, 0%); } :/icons/icons/code.svg:/icons/icons/code.svg 25 25 27 27 27 27 QPushButton#RegexSheetPushButton { min-width: 25px; max-width: 25px; min-height: 25px; max-height: 25px; background-color: rgba(255, 255, 255, 0%); border:1px; border-color: rgb(255, 85, 0); border-style: solid; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius:5px; } QPushButton#RegexSheetPushButton:hover { background: rgb(255, 119, 51); } QPushButton#RegexSheetPushButton:pressed { background: rgba(255, 255, 255, 0%); } :/icons/icons/sheet.svg:/icons/icons/sheet.svg 25 25 27 27 27 27 QPushButton#AboutPushButton { min-width: 25px; max-width: 25px; min-height: 25px; max-height: 25px; background-color: rgba(255, 255, 255, 0%); border:1px; border-color: rgb(255, 85, 0); border-style: solid; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius:5px; } QPushButton#AboutPushButton:hover { background: rgb(255, 119, 51); } QPushButton#AboutPushButton:pressed { background: rgba(255, 255, 255, 0%); } :/icons/icons/info.svg:/icons/icons/info.svg 25 25 6 15 15 15 0 0 Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); REGULAR EXPRESSION background-color: rgb(153, 153, 153); color: rgb(255, 255, 255); border-style: solid; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; min-width:150px; max-width:150px; min-height:20; max-height:20; 0 matches or wrong syntax Qt::AlignCenter Qt::Horizontal 0 0 0 9 QPlainTextEdit { min-width:360px; min-height:30; max-height:30; margin-bottom:5px; padding-left: 5px; padding-top: 5px; color: #495057; background: rgba(255,255,255,100%); border-bottom: 2px; border-style: solid; border-bottom-color: rgba(0,0,0,.3); border-top-left-radius: 3px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } QPlainTextEdit::focus { border-bottom-color:rgb(255, 85, 0); } QPlainTextEdit::disabled { background: rgba(0,0,0,.04); border-bottom-color: rgba(0,0,0,.15); } insert your pattern QPushButton#ProcessPushButton { min-width:60px; max-width:60px; min-height:35; max-height:35; margin-bottom:5px; color: #495057; background: rgba(255,255,255,100%); border-bottom: 2px; border-style: solid; border-bottom-color: rgba(0,0,0,.3); border-top-left-radius: 0px; border-top-right-radius: 3px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } QPushButton#ProcessPushButton:hover { background: rgba(255,255,255,50%); border-bottom-color:rgb(255, 85, 0); } QPushButton#ProcessPushButton:pressed { background: rgba(255,255,255,100%); border-bottom-color:rgb(255, 85, 0); } QPushButton#ProcessPushButton:disabled { background: rgba(0,0,0,.04); border-bottom-color: rgba(0,0,0,.15); } Process Return Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); TEST STRING Qt::Horizontal 11 QPlainTextEdit { min-width:360px; min-height:30; padding-left: 5px; padding-top: 10px; color: #495057; background: rgba(255,255,255,100%); border-bottom: 2px; border-style: solid; border-bottom-color: rgba(0,0,0,.3); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } QPlainTextEdit::focus { border-bottom-color:rgb(255, 85, 0); } QPlainTextEdit::disabled { background: rgba(0,0,0,.04); border-bottom-color: rgba(0,0,0,.15); } insert your test string here background-color: rgb(238, 238, 238); min-width: 300; max-width: 500; 10 10 10 10 background-color:rgb(249, 249, 249) Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); MATCH INFORMATION Qt::Horizontal border:No; Qt::ScrollBarAlwaysOff Qt::ScrollBarAlwaysOff true Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop 0 0 300 449 0 0 0 0 0 0 0 1081 21 312 91 312 524287 Regex Sheet 2 0 0 0 0 0 border:No; true 0 0 296 1465 Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Basics background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; . Any character except newline min-width:100px; max-width:100px; a The character a min-width:100px; max-width:100px; ab The string ab min-width:100px; max-width:100px; a|b a or b min-width:100px; max-width:100px; a* 0 or more a's min-width:100px; max-width:100px; \ Escapes a special character Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Quantifiers background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; * 0 or more min-width:100px; max-width:100px; + 1 or more min-width:100px; max-width:100px; ? 0 or 1 min-width:100px; max-width:100px; {2} Exactly 2 min-width:100px; max-width:100px; {2, 5} Between 2 and 5 min-width:100px; max-width:100px; {2,} 2 or more min-width:100px; max-width:100px; {,5} Up to 5 min-width:100px; max-width:100px; ab The string ab Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Groups background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; (...) Capturing group min-width:100px; max-width:100px; (?P<Y>...) Capturing group named Y min-width:100px; max-width:100px; (?:...) Non-capturing group min-width:100px; max-width:100px; \Y Match the Y'th captured group min-width:100px; max-width:100px; (?P=Y) Match the named group Y min-width:100px; max-width:100px; (?#...) Comment min-width:100px; max-width:100px; {2} Exactly 2 Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Character Classes background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; [ab-d] One character of: a, b, c, d min-width:100px; max-width:100px; [^ab-d] One character except: a, b, c, d min-width:100px; max-width:100px; [b] Backspace character min-width:100px; max-width:100px; \d One digit min-width:100px; max-width:100px; \D One non-digit min-width:100px; max-width:100px; \s One whitespace min-width:100px; max-width:100px; \S One non-whitespace min-width:100px; max-width:100px; \w One word character min-width:100px; max-width:100px; \W One non-word character Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Assertions background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; ^ Start of string min-width:100px; max-width:100px; \A Start of string, ignores m flag min-width:100px; max-width:100px; $ End of string min-width:100px; max-width:100px; \Z End of string, ignores m flag min-width:100px; max-width:100px; \b Word boundary min-width:100px; max-width:100px; \B Non-word boundary min-width:100px; max-width:100px; (?=...) Positive lookahead min-width:100px; max-width:100px; (?!...) Negative lookahead min-width:100px; max-width:100px; (?<=...) Positive lookbehind min-width:100px; max-width:100px; (?<!...) Negative lookbehind min-width:100px; max-width:100px; (?()|) Conditional min-width:100px; max-width:100px; \Z End of string, ignores m flag Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Flags background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; i Ignore case min-width:100px; max-width:100px; m ^ and $ match start and end of line min-width:100px; max-width:100px; s Matches newline as well min-width:100px; max-width:100px; x Allow spaces and comments min-width:100px; max-width:100px; L Locale character classes min-width:100px; max-width:100px; u Unicode character classes min-width:100px; max-width:100px; (?iLmsux) Set flags within regex Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Flags background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; \n Newline min-width:100px; max-width:100px; \r Carriage return min-width:100px; max-width:100px; \t Tab min-width:100px; max-width:100px; \YYY Octal character YYY min-width:100px; max-width:100px; \xYY Hexadecimal character YY Arial 9 75 true min-height:15; max-height:15; background-color: rgba(0, 0, 0, 0%); Regular Expression Replacement background-color:rgb(255, 85, 0); border:No; height:1px Qt::Horizontal min-width:100px; max-width:100px; \g<0> Insert entire match min-width:100px; max-width:100px; \g<Y> Insert match Y (name or number) min-width:100px; max-width:100px; \Y Insert group numbered Y