locked
Regex pattern validation for this amount format (37,00-39,00) RRS feed

  • Question

  • User-874865277 posted
    Please help me out to find the regex pattern for the below amount format.
    (45,00 - 49,00)
    Saturday, April 4, 2020 3:39 PM

All replies

  • User-719153870 posted

    Hi Yuvikarthick,

    Try /(4[5-8][0-9]{2}|4900)/g. There's a tool can help generate regex for Numeric Range.

    For more information, please check Regular expressions.

    Best Regard,

    Yang Shen

    Monday, April 6, 2020 7:18 AM
  • User-874865277 posted
    Thanks for sharing the links. It was very helpful.
    Tuesday, April 7, 2020 2:59 AM
  • User-719153870 posted

    Hi Yuvikarthick,

    Thank you too for letting me know it helps.

    Please mark my post as the answer if the issue has been resolved. Thanks!

    Best Regard,

    Yang Shen

    Tuesday, April 7, 2020 8:35 AM