Regular Expressions 101

Community Patterns

1...456

Community Library Entry

0

Regular Expression
.NET 7.0 (C#)

@"
(?<=(/|^))(((/|^)|(\w*:))(?<node>.*?))(?=/|$)
"
gm

Description

Replace namespaces in xpath with local-name

Submitted by pvlzh - a year ago