P
Paul Rogers
Im trying to come up with an easy way to generate a random string,
based on a supplied pattern, maybe something like:
String.from_pattern("\d\d\d@\w{3,5}.com") => "(e-mail address removed)"
Ive used a standard reg exp format here, but it doesnt matter if it
uses something else.
Any simple way to do this?
Thanks
Paul
based on a supplied pattern, maybe something like:
String.from_pattern("\d\d\d@\w{3,5}.com") => "(e-mail address removed)"
Ive used a standard reg exp format here, but it doesnt matter if it
uses something else.
Any simple way to do this?
Thanks
Paul