java正则表达式实例

1、时间日期类

2、字符串类

 2.1 确保字符有序出现 1|2 出现 在3|4前面

String date = "((1|2)?(3|4)?)+";
积累,沉淀
原文地址:https://www.cnblogs.com/hx78/p/7088656.html