Peter Dyballa writes: > I'm not sure whether it's described so clearly. The main thing is that > text is line oriented and therefore $ states end of line. And > therefore regular expressions end at line's end. So in the middle of > the from part $ cannot have another meaning than the character $ > itself. If the from part has to stretch over more than one line, then > each line ending has to be expressed with the linefeed character that > separates the text into more than one line. Could be sometimes a > carriage return (^M) has to be used, or some combination of carriage > return and linefeed ... Aha, I see. Now, more things I noticed in my few experiences with RegExps become clear. Sometimes I search and replace longer regexps and wonder why some are always skipped. Now I understand: these are the ones extending over more than one line. Thank you Sven