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

In Notepad++, how would I go about removing the content in brackets (brackets included).

4, Bone Powder,  (Ryu) 2000
7, Bone Powder,  (DC_Terminator) 5555
7, Bone Powder,  (The_Lion_Elder) 5000
5, Bone Powder,  (Franklin) 3500
share|improve this question

Use the following regular expression:


regex 1

Note: If you would like to include the space following the closing bracket, you can simply add a single space character to the end of expression.

regex 2

share|improve this answer
Good answer...but wouldn't the . you added at the end of the second regex pick up any character after the closing bracket rather than just a single space? – martineau Mar 15 '12 at 17:30
@martineau Oops. Correct! You can simply use a single space character. I'll update my answer. – iglvzx Mar 15 '12 at 17:37

You must log in to answer this question.

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