That $regsubex() is exactly what i was looking for! laugh

Also, where did you find that /g switch from? - It not in the mirc.chm tho (i'm using v6.35 - will upgrade to 7.1 but too scare it might breaks my script! :p)

Many thanks for the reply tho smile