+
applyRegexTemplate("\\d{4}[-/年](0?[1-9]|1[0-2])[-/月](0?[1-9]|[12][0-9]|3[01])[日]?")}
+ role="button"
+ tabIndex={0}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter' || e.key === ' ') {
+ applyRegexTemplate("\\d{4}[-/年](0?[1-9]|1[0-2])[-/月](0?[1-9]|[12][0-9]|3[01])[日]?");
+ }
+ }}
+ >日期格式:yyyy-mm-dd
+
applyRegexTemplate("[A-Z]{2,5}-\\d{4,10}")}
+ role="button"
+ tabIndex={0}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter' || e.key === ' ') {
+ applyRegexTemplate("[A-Z]{2,5}-\\d{4,10}");
+ }
+ }}
+ >合同编号格式
+
applyRegexTemplate("(人民币|RMB)?\\s?(\\d{1,3}(,\\d{3})*(\\.\\d{2})?)\\s?[万元]?")}
+ role="button"
+ tabIndex={0}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter' || e.key === ' ') {
+ applyRegexTemplate("(人民币|RMB)?\\s?(\\d{1,3}(,\\d{3})*(\\.\\d{2})?)\\s?[万元]?");
+ }
+ }}
+ >金额格式
+
applyRegexTemplate("\\d{3}-\\d{8}|\\d{4}-\\d{7,8}")}
+ role="button"
+ tabIndex={0}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter' || e.key === ' ') {
+ applyRegexTemplate("\\d{3}-\\d{8}|\\d{4}-\\d{7,8}");
+ }
+ }}
+ >座机号码格式
+
applyRegexTemplate("1[3-9]\\d{9}")}
+ role="button"
+ tabIndex={0}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter' || e.key === ' ') {
+ applyRegexTemplate("1[3-9]\\d{9}");
+ }
+ }}
+ >手机号码格式
+