Regular Expressions 101

Community Patterns

1...56789...18

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