要匹配 @ 符号
@any => true
xxx @any => true
xxx@any => false
要匹配 @ 符号
@any => true
xxx @any => true
xxx@any => false
1
huiyanpohundh123 Jan 13, 2023 (^@.*|(?<=\s)@)
|
2
Jooooooooo Jan 13, 2023
这种问题其实可以尝试问问 chatgpt
|
3
huiyanpohundh123 Jan 13, 2023
|
4
lry OP 👍 太感谢了,解决了。
|
5
512357301 Jan 14, 2023 via Android
https://regex101.com/
试下这个网站,自己琢磨着写也可以实现的,chatgpt 门槛有点高😂 |