Query & Regex in Templating

Hi,

I want to exclude one server in a group. How can i do this in Template Setting under Query & Regex?

Eg: Windows Hosts = Server A, Server B and Server C.

Exclude Server A.