I want to replace a date (26:12:2012) in my document with a word "date". I am using c# and doing a customization of MS Word.
这应该可以解决问题:
Regex.Replace(source, "\d{2}:\d{2}:\d{4}", "Date");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.