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.
让我有一个字符串
<sip:73512598312@test.ru>;index=1<sip:73512598313@test.ru;user=phone;cause=302>;index=1.1
如何使用 boost 正则表达式从中获取 73512598313?
你可以使用(?<=sip:)\d+(?=@test.ru;),我猜。
(?<=sip:)\d+(?=@test.ru;)