The following code example illustrates the use of a regular expression to check whether a string has the correct format to represent a currency value.
英
美
- 下面的代码示例演示如何使用正则表达式检查字符串是否具有表示货币值的正确格式。
