Some useful Regex code for easy reuse. More will come…
For documentation about regular expressions in the .Net Framework, look up Regular Expression Language Elements in the online help, or look here:
http://msdn2.microsoft.com/en-us/library/az24scfc.aspx
// Remove namespace prefixes from Xml element names
string str = Regex.Replace(xml, “(?)([a-zA-Z_]+:)([a-zA-Z_]+)", "$1$3");
[/csharp]