Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You were close

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

Found it!

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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