导航

2020年4月9日

摘要: <!DOCTYPE html> <html lang="en"> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <s 阅读全文

posted @ 2020-04-09 22:55 init01 阅读(172) 评论(0) 推荐(0) 编辑

摘要: 1、match:match() 方法可在字符串内检索指定的值,或找到一个或多个正则表达式的匹配。该方法类似 indexOf() 和 lastIndexOf(),但是它返回指定的值,而不是字符串的位置。 2、replace:replace() 方法用于在字符串中用一些字符替换另一些字符,或替换一个与正 阅读全文

posted @ 2020-04-09 19:49 init01 阅读(172) 评论(0) 推荐(0) 编辑