Replacing them with Spaces or another innocuous character, and then treat the resultant string as if it were just a regular string (with the date in the middle).
用空格或其他无害字符替换它们,然后将结果字符串视为只是一个常规字符串(日期在中间)。
Therefore the regular expression A*B will match the strings AB, AAB, AAAB, or any other string starting with an A and ending with a single B.
因此,正则表达式 A*B 将与字符串 AB 、 AAB 、 AAAB 或任何其它以 A 开头并以单个 B 为结尾的字符串相匹配。
Sure, you could use regular expressions or String searches, but that would be too much work.
当然,您可以使用常规表达式或 String 搜索,但所需的工作量太大。
应用推荐