codecorner.galanter.net
Remove namespaces from Xpath expression
If you ever need to remove namespaces from an XPath string, regex is a way to go. [\w]+:(?!:) expression to be precise. So if, for example your xpath is this code will convert it into Thanks Bogdan…