- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2021 11:52 PM
Hi all,
Can anyone help with the regular expression for the variable in catalog item. The format should starts with '$0.00'. means it should start with $ and numerical values.00
examples are $118.09,$6.08,$3456.52,$12344.17
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2021 02:54 AM
var regex = /^\$(?![.0]*$)\d+\.\d{2}$/;
Hope it helps!
Please mark helpful or correct if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 01:05 AM
Hi Koushiki,
There is an issue found, if it $0.00, then this is not allowing. can you kindly help me with this
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2021 01:15 AM
Worked for me with this. Thanks for ur help on the above