Regular Expressions 101

Community Patterns

Replace namespaces in xpath with local-name

0

Regular Expression
.NET 7.0 (C#)

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

Description

Replace namespaces in xpath with local-name

Submitted by pvlzh - 10 months ago