fork download
  1. import re
  2.  
  3. ptrn_buy_in = re.compile("(?<=[$€£])[0-9]+\.[0-9]+")
  4. print(re.findall(ptrn_buy_in, r"$14.69+$0.31"))
Success #stdin #stdout 0.02s 27800KB
stdin
Standard input is empty
stdout
['14.69', '0.31']