I have a file with the names written in each line like this: subhash chand (line feed) yobie chimwanachomama (line feed) riadh chaieb (line feed)
Now if I run regexp search for [a-z][a-z] it returns "su bh as ch an yo...". Is there a regexp pattern that would return matches of this form ""su ub ha as sh ch ha an nd..."? This regexp works like tokenizer of length '2'. It would be great if regexp is a valid Java regexp.