hello all, I'm confused to find and replace using notepad++ the file.txt content is like this: [any text here] word 1 [any word here] word 2 [text here] word 3 [texts here] word 4 [problem here] word 5 and then Code (markup): I want to remove the text between "[" and "]" sign and also remove them so it will looks like this: word 1 word 2 word 3 word 4 word 5 Code (markup): thanks
Not entirely sure I follow that but you want to "find" what it is you have to remove and replace it with nothing. Nigel
each text inside [ and ] has different text and it about 2k+ line so how to remove them at once using regex? thanks
ahh I see, I would ask this in the programming forum. That sort of php is beyond the scope of my skillset. A quick bit of google fu shows me that is doable though. I would actually ask this here http://stackoverflow.com/ I don't quite know how to do this so its interesting now. I will poke around a sec and see if I can sort it out. Nigel
1. Open Notepad++ 2. Ctrl + F 3. Choose "Replace" Tab 4. "Find what" --> fill with word that you want to replace , in you case then [ 5. "Replace" --> backspace 6. Click Replace / Replace all