How to find words between ( and ) symbols in Notepad++

I figured out how to find any words between “(” and “)” symbols in my text files using Notepad++.

Just do a regex search like this screenshot:

Use this: \(.*?\) in your search dialog and activate Regular Expression radio box.

EDIT: Make sure to uncheck “matches newline”;

Another example… if we want to find words between “:” symbol and “,” symbol, then this is the regex:

(?<=:).+?(?=,)

Of course you can change these symbols according to your need.

Leave a Reply

Your email address will not be published. Required fields are marked *