js基础---date的格式化与exec()正则表达式

exec():获取字符串中符合正则表达式的内容。
正则表达式中的匹配模式:i代表忽略大小写,g代表全局匹配

posted @ 2023-05-09 19:20  29乄  阅读(18)  评论(0)    收藏  举报