This regular expression matches a string that starts with a number between 5-9 or a number between 10-999, followed by a decimal point, two digits after the decimal point, and then the string "GB".

Examples of strings that match this regular expression:

  • 5.25 GB
  • 8.99 GB
  • 100.00 GB
  • 999.99 GB

Examples of strings that do not match this regular expression:

  • 4.99 GB (the number before the decimal point is less than 5)
  • 1000.00 GB (the number before the decimal point is greater than 999)
  • 50.000 GB (there are more than two digits after the decimal point
D5-91-9d12d2sGB

原文地址: https://www.cveoy.top/t/topic/exiU 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录