/123\([^4]\|4[^5]\)/

Keep in mind this would match

123ab

As well.

*tim* 

-----Original Message-----
From: Bin Chen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 20, 2007 9:29 AM
To: Vim ML
Subject: replace command

I want to know a command for this:

a word start with 123 but NOT followed by 45, such as

12346
12357

are match,
only 12345 not match.

Thanks.
abai

Reply via email to