You are asking someone here to explain to you how regular expressions work. Not only is that not a mIRC scripting question, as regular expressions existed long before mIRC did, you also obviously have not taken the time to read toturials that can be found on the internet about regular expressions, of which there are plenty, nor have you searched this forum, as there are numerous references about using regular expressions. If I recall, Hammer made reference to a log of a class he gave on regular expressions not too long ago. If I'm wrong, follow this link to get there: http://helpdesk.zaz.net/channel/classes/basic-regex.txt .