0
Reply

Algorithm (in C#) for generating Regex expressions

Wolfram Steinke

Wolfram Steinke

Nov 22 2010 6:54 PM
11.3k

I need to track down or write some code which can generate a regular expression for validating a numeric string to fit into a range.   The input o this algorithm would be the max and min value. 
I figured someone would probably already written such an algorithm.  Any suggustions for a starting point will be most welcome.