regex - remove whitespaces and blank spaces in next line -
i've below piece of code.
<sup><a name="f31" href="#ftn.31" class="tr_ftn"> 31</a></sup>
here want replace space between closing tag , number, output should below.
<sup><a name="f31" href="#ftn.31" class="tr_ftn">31</a></sup>
the regex i'm using
class="tr_ftn">\n*
but taking full next line.
please let me know how fix it.
thanks
i forgot how different visual studio 2010 expressions are. can use:
class="tr_ftn"\>:wh*:cc*:wh*
that match class="tr_ftn">, followed number of spaces, number of newlines, , spaces.
if match want replace with:
class="tr_ftn">
for visual studio 2012 use match:
class="tr_ftn">[\r\n\s]*
Comments
Post a Comment