views:

52

answers:

1

Hi ! I have a XAML document and I want to select all texts with Regex with this form:

Default=xyz}

I wrote for it this very simple regex and it works:

Default=.+}

Now, how do I exactly the opposite? I want to delete all other text than this in the document.

I'm using Notepad++.

Thanks

+1  A: 

Find: .*(Default=[^}]+}).*

Replace with: \1

cmptrgeekken