When you need to edit a regular expression written by somebody else, or if you are just curious to understand or study a regex you encountered, copy and paste it into RegexBuddy. If the regex is used as part of an application's source code, just copy the entire string or regex operator. RegexBuddy will properly extract the regex from the string. E.g. when working with Java code, copy the Java string containing the regex and select "Paste as C-style string" in RegexBuddy. RegexBuddy then properly removes the quotes and escape characters.
As soon as you paste in the regex, RegexBuddy's regex tree will give you a clear analysis of the regular expression. Click on the regular expression, or on the regex tree, to highlight corresponding parts. Collapse part of the tree to get a good overview of complex regular expressions. If you are new to regular expressions, this is an excellent way to learn by example.
When the brief descriptions of the regex tree are not clear enough, just click the Explain Token button to access RegexBuddy's detailed regular expression tutorial. You will find answers to all your questions there. (At least, those questions concerning regular expressions.)
|RegexBuddy’s plain English regex tree makes it easy to understand exactly what a regular expression does|