Generation

regexSat, 12 Nov 2022

strings that match American, British, and European prices

/^\£?(([1-9]\d{0,2}(,\d{3})*)|0)?(\.\d{1,2})?$|^\€?(([1-9]\d{0,2}(\.\d{3})*)|0)?(,\d{1,2})?$/

Questions about programming?Chat with your personal AI assistant