Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在一行上找到匹配项,然后将字符串中的所有字符带到换行符,我知道但有一段时间没有大量使用正则表达式:)
所以:
[\d]+\s[A-Za-z.]+ Anything to line break
有任何想法吗 ?
先感谢您
*我正在使用.net
匹配除最后一个换行符之外的所有内容:
[\d]+\s[A-Za-z.]+[^\n]*