I know its simple, but I can't get it to work...

I have a strings like

{span style="display:none"}123{/span} and 

{span style="display:none"}456{/span} and 

{span style="display:none"}789{/span}

in a file.

I want to remove all of these string.

So, I thought a simple regular expression replace in NotePad++ should be like

{span style="display:none"}[(.)]{/span}

but, this is not working.

Thank for your help!

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

You were close

{span style="display:none"}(.*){/span}
link|improve this answer
Thank you FrEaKmAn – Jeremy Apr 20 '10 at 10:24
feedback

Found it!

Now using {span style="display:none"}[0-9a-zA-Z_&-. ]+{/span} in the search box!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.