(*) Via this old thread I found Regexp::Genex and there is also String::Random. Neither worked for my use case.How about Mock::Data::Regex?
Or is the real use case more complicated?perl -MMock::Data::Regex -E ' say Mock::Data::Regex->new( qr/^[a-c]{2}[-,.]\d{3}-[A-Z]{2}$/a )->generate;' bb-157-JA
In reply to Re: Generate random strings from regular expression
by NERDVANA
in thread Generate random strings from regular expression
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |