1
wusuopuBUPT 2015-02-12 22:44:22 +08:00
cat test.txt | grep -vE 'edit|move' | grep "&token"
|
2
spance 2015-02-12 22:58:37 +08:00
(?=token=)([^&\s]+)
正则group 1提取 |
3
zyxfsky 2015-02-12 23:16:41 +08:00
```
http:\/\/[^\/]*\/([^\/]*(?<!(edit|move)))\/\?.*token=.* ``` |