Make usable as code

0

Open in the Regex Tester
Takes a string and makes it usable as code. Useful if you're doing automatic code generation from some external input (text file, database) and need to make it friendly to use as code.
For example, in C#, variables/methods cannot start with a number, cannot have spaces, and use alpha-numeric characters.
Makoto Schoppert
6/27/2012 4:15:06 PM
6/27/2012 4:15:06 PM