How to replace each letter on each position? ex. $word = compare price /* if letter position = a => replace q,w,s,x,z on a if letter position = b => replace v,f,g,h,n on b if letter position = c => replace x,s,d,f,v on c if letter position = o => replace i,k,l,p on o if letter position = m => replace n,h,j,k on m if letter pos.. . . . and the result will be : xompare price --- letter position 1 changed. sompare price --- letter position 1 changed. dompare price --- letter position 1 changed. fompare price --- letter position 1 changed. vompare price --- letter position 1 changed. cimpare price --- letter position 2 changed. ckmpare price --- letter position 2 changed. clmpare price --- letter position 2 changed. cpmpare price --- letter position 2 changed. . --- letter position 3 changed. . . till end position */ What's the script? Thank you.
This is an interesting question because it matches precisely with one techniques used by spammers to "confuse" bayesian filters. Is that your intent? What is the thinking behind your choice of replacement letters?
i'm writing misspell word script. you can see letter q,w,s,x,z -- close to "a" and v,f,g,h,n -- close to "b" on your keyboard. anyone can help?