Joseph Michael Pesch
VP Programming

Regular Expression Find/Replace in Visual Studio

by 4. March 2010 17:32

Here is an example to find all the references like ..."images/filename.extension"... and replacing them with ..."<%=ResolveUrl("~/images/filename.extension")%>"...

Find: {images/[A-Za-z0-9.]*}

Replace: <%=ResolveUrl("~/\1")%>

Tags:

Regular Expression | VPC

Comments are closed