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})?$/

Want to kickstart your project?Use the new AI Studio to create your code