mirrorbird(01:44:56)
still won't work if the ".." is extreme start or end (my monkey thought is: just add a space at each end before regexing. but you don't have that option)
mirrorbird(01:44:28)
[^\.](\.{2})[^\.] this one will capture the dots you dislike
lenny(01:44:22)
ok, i see, i just tried it with a single line: "it is a nice car.."
mirrorbird(01:42:08)
also, it works in middle, but maybe not if ".." is the very start/end, so you may need to mess about with the terminators ^ and $. but this is good SO FAR...
mirrorbird(01:41:35)
as written, this will capture the two enclosing 'non-dot' characters, so you may need to include ( ) to show which bits you want
mirrorbird(01:40:10)
all right, you want sth like this: [^\.]\.{2}[^\.]