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!

Converting String Characters into Regular Expression Automatically?

807588May 27 2009 — edited May 28 2009
Hi guys.... is there any program or sample coding which is available to convert string characters into regular expression automatically when the program is run?

Example:

String Character Input: fnffffffffffnnnnnnnnnffffffnnfnnnnnnnnnfnnfnfnfffnfnfnfnfnfnnnnd

When the program runs, it automatically convert into this :

Regular Expression Output: f*d
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2009
Added on May 27 2009
19 comments
385 views