excluding

How can I exclude specific words from a generic regular expression?

Possible Duplicate: Regular Expression to exclude set of Keywords Hi, I have the following regular expression which matches everything actually :-). However I need to exclude some specific strings from matching. I know I have to use the exclamation (!) sign, but I can't seem to get it working. Either way the strings don't get e...

Exclude items who has a later date than the date of today

I have a question about XSLT. On a website i have a simple calendar, showing events who are going on in the future. But when an event is done, it should be removed from my list. By done i mean, that the date of the event is past the date of today. Every event have a date attached. Look at the folowing code: <xsl:for-each select="$cu...