Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Generation of random strings based on a regular expression

807589Jan 13 2009 — edited Jan 15 2009
Hi All,

I'm looking for a way to generate random strings based on a regular expression.
for example:
String rand = Generator.generate("[A-Z]{3,4}");
Does anyone know such tool or utility?

Thanks,
Daniel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2009
Added on Jan 13 2009
26 comments
949 views