fork download
  1. import re
  2. line='"start_nm":"BOSTON","dest_nm":"NEW YorK"'
  3. match1 = re.search('start_nm\":\"([^"]*)', line)
  4. if match1:
  5. print(match1.group(1))
Success #stdin #stdout 0.02s 27744KB
stdin
Standard input is empty
stdout
BOSTON