I have a log file, most lines are quoted at the first and last characters, for example:
"2010-09-09,13:33,"user logoff",0"
What is a ruby regular expression to remove quotes from the head and tail? therefore, the result line looks like this:
2010-09-09,13:33,"user logoff",0
source
share