Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import re
>>> s = 'set srcintf "wan1" "Port1" "Port2"'
>>> t = re.findall('"([^"]+)"', s)
>>> print t
['wan1', 'Port1', 'Port2']
>>>