Regex Learning I
Regex Meta Symbol
- . 代表任意字符
- / 转义符号
- [] 范围符号
- - 从...到...的范围
- ^ 反意字符,即除了...以外
- * 大于等于0个字符
- + 大于等于1个字符
- Replace Regex String.replace(/[Regex Express]/g, "[Replace string]")
- Html Tag <[^>]*>
- HH:Min ^(20|21|22|23|[0-1]?\d):[0-5]?\d$