![](/img/trans.png)
[英]How can I print 2 lines if the second line contains the same match as the first line?
[英]Match all lines after the first line that contains
我希望匹配包含已知字符串的第一行之后的所有行,包括包含该字符串的完整行
我得到了这个:
((?=202099T19:11:49\+00:00)).*
输入文本:
45op0 202056T20:48:33+00:00 113-646536-035644
trico 202023T19:48:32+00:00 11434491-8205047 JJBBe
202024T19:22:41+00:00 111-402297
tyuh 202099T19:11:49+00:00 113-4997
tyuh 202099T19:11:49+00:00 113-4997
202076T17:59:47+00:00 114-4625200-7
acure 202011T17:55:01+00:00 112-3296056-6611
202009T17:52:10+00:00 113-4271010
任何帮助将不胜感激
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.