Is it possible to write a regular expression that represents lines starting with "and do not end with " ?
"
You can use regex:
^".*[^"]$
Explanation:
^ Start of line anchor " A literal " .* Any junk [^"] Any non " character $ End of line anchor
There you go:
^".*[^"]$ ^" starts with " .* some chars (or none) [^"]$ doesn't end with "
Here you go
What regular expression engine are you using?