RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
((xmlns:.*?=[",'].*?[",'])|(xmlns=[",'].*?[",']))
Description
XML Namespace ( xmlns ) matcher. Properly matches one or more of either xmlns="blah" or xmlns:blah="blooey" . (for c#, make sure to escape the double-quotes.)
Matches
<Registry xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.or
Non-Matches
<Registry someattrib="test" />
Author Rating: Not yet rated. Jeremy Ragan
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials