Designing a Regular Expression Pattern for Currency

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hi there thank you for this video. What if we want to also get things like $7 billion etc?

YiANgO
Автор

How would one handle something like "$50" (i.e whole number - without any point)

ScienceArtCrafts
Автор

what if the person insert $0.00 will it still be accepted?

aqrius
Автор

1.Currrency Format -^([^\, ]0*[1-9][0-9]*(\.[0-9]+)?|0+\.[0-9]*[1-9][0-9]*)$ But here why comma values are not getting matched .Can you please modify so comma values can also be matched.And in the above regex already min value is starting from 1

rounak