I have some regular expression, for example: “/[0-9]{3}/”
I need values generator for this regular expression.
regexp = "/[0-9]{3}/"
value_generator(regexp, 5) # 5 is count of values.
I want to output a list of
324
533
654
444
546
It is possible?
Just random data matching the regexp?
Just generate infinite amounts of random strings, select those which by chance happen to match your regexp and output those matches.