How to remove a tab attribute in ASP .NET AJAX Toolkit using Regular Expression

Posted by Nassign on Stack Overflow See other posts from Stack Overflow or by Nassign
Published on 2009-09-12T05:45:37Z Indexed on 2010/04/23 22:23 UTC
Read the original article Hit count: 303

I have tried to remove the following tag generated by the AJAX Control toolkit. The scenario is our GUI team used the AJAX control toolkit to make the GUI but I need to move them to normal ASP .NET view tag using MultiView.

I want to remove all the __designer: attributes

Here is the code

<asp:TextBox ID="a" runat="server" __designer:wfdid="w540" />
<asp:DropdownList ID="a" runat="server" __designer:wfdid="w541" />
.....
<asp:DropdownList ID="a" runat="server" __designer:wfdid="w786" />

I tried to use the regular expression find replace in Visual Studio using:

Find:

:__designer\:wfdid="w{([0-9]+)}"

Replace with empty space

Can any regular expression expert help?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-ajax