On Tue Sep 18 2001 at 10:38:57AM +0200 'Craig' <[EMAIL PROTECTED]> wrote: > Need to do an extended find and replace with VIM, anyone > know the syntax for me ? I have a really long named.conf > file I need to modify ... :%s/thing_to_find/thing_to_replace/gc g: global c: check with operator before substituting If you need to find and replace over multiple lines I suggest you rather use a little perl script. Ciao Charl __________________________________________________________________________ Making reality real since 1974. __________________________________________________________________________ [ Charl Matthee ] [ +27-11-721-3800 ] [ Reality Manufacturing ] [ +27-11-405-6508 ] __________________________________________________________________________ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]