regexr is an R framework for constructing and managing human readable regular expressions. It aims to provide tools that enable the user to write regular expressions in a way that is similar to the ways R code is written. The tools allow the user to:
Write in smaller, modular, named, sub-expressions
Write top to bottom, rather than a single string
Comment individual sub-expressions
Indent expressions to represent regular expression groups
Add vertical line spaces and R comments (i.e.,
Test the validity of the concatenated expression and the modular sub-expressions
This framework harnesses the power and flexibility of regular expressions but provides a structural frame that is more consistent with both code writing and natural language conventions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.