Thread
: [Solved]
VBScript.RegExp: exclude a particular word
View Single Post
06-05-2012, 03:05 PM
Colin Legg
Windows 7 32bit
Office 2010 32bit
Expert
Join Date: Jan 2011
Location: UK
Posts: 369
Hi,
Here's one pattern (a negative lookahead) which will exclude dog:
Code:
.Pattern = "(?!dog\b)\b\w+"
Colin Legg
View Public Profile
Find all posts by Colin Legg