1. A method of converting text to code that is compliant with a markup language, comprising the steps of: applying a schema to said text, wherein said schema comprises a regular expression having printer tokens embedded therein and having sections, each of said sections being delimited by a grouping operator; matching said text with said regular expression to identify portions of said text that match each of said sections; and for each of said sections concatenating said printer tokens and respective identified portions of said text to generate an output that is compliant with said markup language, wherein said printer tokens each cause a constant string to be generated in said output.