I've found Regular Expressions and XPATH expressions in Identity Manager to be sometimes confusing, so I decided to start compiling ones that I've learned from people in the Forums like Father Ramon. Hopefully others will contribute here as well, and we will have a good base of examples to work from.
The Regular Expressions wiki page can be found here:
and the XPATH one can be found here:
I've tried to keep everything in context so it isn't just an expression, but rather an application for the expression.
Please come and help by contributing.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.