Click here to Skip to main content
       

VS 11 & .NET 4.5

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Questionfind sentence with regular expression in VSmemberElham M18 Feb '13 - 21:25 
Hi,
I want to find whole sentence in VS that start: <asp:Panel and end: runat="server"> and replace with div tag please help
AnswerRe: find sentence with regular expression in VS PinprotectorPete O'Hanlon18 Feb '13 - 22:24 
To find this combination (including optional spacing anywhere in your tags), you could always use something like
this:<\s*asp:Panel.*runat\s*=\s*"server"\s*>
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid