Possible Duplicates:
Reverse regular expressions to generate data
Random string that matches a regexp
hello,
i wonder if it's possible to auto-generate valid data by specifying a regular expression. what i want to do is: providing a regular expression and auto-generate examples of data where the regular expression matches for it -- is this possible? maybe there's already a tool or script available for doing such?
thanks!
update
maybe i've found a solution for it: there's the perl module Parse::RandGen::Regexp which apparently does what i want ...
http://metacpan.org/pod/Parse::RandGen::Regexp
... haven't tested it thoroughly, though ...