Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Found it!

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .