Joseph,
I call it learning to read Klingon
Joseph,
I call it learning to read Klingon
finaly I ended up with code(\r)(
)[/code] as a search pattern, and $1-
as a replacement pattern.
because Kem’s solution lefted minus chars at the beginning of other lines ? did not have time to investigate further.
also be aware of the text encodings : it really must be known, don’t ReadAll with a nil text encodings
or your regex searches will replace almost not what you want !