450,350 wxWS_EX_VALIDATE_RECURSIVELY wxHORIZONTAL wxVERTICAL wxVERTICAL 0 g - match globally wxALIGN_CENTRE|wxALL 5 0 i - Do case-insensitive pattern matching. wxALIGN_CENTRE|wxALL 0 m - Treat string as multiple lines. wxALIGN_CENTRE|wxALL 5 0 0 e - Evaluate the right side as an expression. wxALIGN_CENTRE|wxALL 5 0 s - Treat string as single line wxALIGN_CENTRE|wxALL 5 0 x - Permit whitespace and comments. wxALIGN_CENTRE|wxALL 5 0 0 use YAPE::Regex::Explain to explain the regex. wxALIGN_CENTRE|wxALL 5 wxEXPAND|wxGROW|wxALIGN_CENTRE wxVERTICAL 1 1 1 0 eval that code\ntest your *hypothesis* ;) wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL wxGROW|wxALIGN_RIGHT wxTOP|wxBOTTOM|wxALL|wxEXPAND|wxALIGN_CENTRE 5 wxVERTICAL wxHORIZONTAL \b([b-df-hj-np-tv-z])(\w+) 100,50 Insert regular expression pattern here wxEXPAND|wxGROW wxTOP|wxEXPAND 5 0 make mine a substitution (s///) wxALL|wxEXPAND 5 wxHORIZONTAL 100,50 s{pattern}{stuff you enter here goes here} wxEXPAND|wxGROW wxEXPAND wxVERTICAL hello world! 100,50 string to operate on goes here wxEXPAND|wxGROW wxTOP|wxBOTTOM|wxEXPAND 5 wxHORIZONTAL -1,100 This is where the explanation goes wxEXPAND|wxGROW|wxALIGN_CENTRE wxEXPAND 0 wxEXPAND