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.

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

1 Answer 1

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

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.