Dwza
Dwza

Reputation: 6565

Regular Expression to match rows with less char count

I am trying to mach some rows in a file

Sample:

"asdasdasd,1212312,123123
asdadsas",234234,234234
"asddasd",325235,25235423
"aasd aasd,",235345354,534534

Now I want to match row 1 & 2 because there is only one " sign.

I tried a lot of regexp but cant find the right one...

tried stuf like

["]{1,}
["]{2,}
*?["]{2,}

and way more... but all seams to be wrong....

It should work in notepad++

any ideas how to match them?

Upvotes: 0

Views: 36

Answers (1)

zipa
zipa

Reputation: 27879

Shouldn't this do the trick:

.*".*".*

This should be reverse:

^(?!(.*".*".*))

Upvotes: 1

Related Questions