mexus
mexus

Reputation: 11

Notepad++ Regex assistance needed

I have the following example:

assert(apply_patch_check("/system/app/ApplicationsProvider.odex", "31bdc8cc9a131131f97a931933723c0fa6c786ba", "c996ebe1ab91e780dc9b6a41c18214c633413dc4")); set_progress(0.000153);

assert(apply_patch_check("/system/app/AtciService.odex", "09003fce87c178afb603f4ad7fd9db2e612d0648", "aa28dfd656fd12f38f904f85f85f432a822e7719")); set_progress(0.000386);

what I need is only:

/system/app/ApplicationsProvider.odex

/system/app/AtciService.odex

How to do that with notepad++

Upvotes: 0

Views: 55

Answers (2)

Haji Rahmatullah
Haji Rahmatullah

Reputation: 430

Try this one too

Find what: (sys.*dex)|.\s? or .*(sys.*dex).*\W
Replace with: $1

Upvotes: 0

Dialecticus
Dialecticus

Reputation: 16769

Find what: ^[^"]*"([^"]*).*$
Replace with: \1

Basically use first and second quotation mark to extract text that is in between them.

Upvotes: 2

Related Questions