I Have a long string of none sense that it's each character is either a number [0-9] or a lowercase letter [a-z] like the following
"0z8b816ne139z1b948bjk50f9498t139gjj90t7tb3509w6h0r7tbp"
what I'm looking for is a regex that matches all non consecutive patterns that occurred more than once in the string I want the output to be like the following example
bold parts are the matched ones
"0z8b816ne139z1b948bjk50f9498t139gjj90t7tb3509w6h0r7tbp"
Aucun commentaire:
Enregistrer un commentaire