in reply to Re: Getting element of array with a match
in thread Getting element of array with a match

If I understood correctly, OP wanted to ignore everything but alphabetic ("string") characters, as opposed to numbers ("no") and special characters. So the regex would have to be $regex = join "[^a-zA-Z]*", split //, $string;

Though the more I look at the question, the more it looks like an XY problem