xxxxxxx asdf xxxxx <a href=asdf>xxxxx</a> xxxxxx <tttt asdf tt>
要求只匹配<>外面的asdf,不匹配<>里面的
[问题]求一个正则表达式
-
- 帖子: 1010
- 注册时间: 2006-09-29 5:11
[问题]求一个正则表达式
Dell D620 -> Asus U44SG
Dapper->Edgy->Feisty->Gutsy->Hardy->Karmic->Lucid -> Oneric -> Precise->Trusty
Python+JS
Dapper->Edgy->Feisty->Gutsy->Hardy->Karmic->Lucid -> Oneric -> Precise->Trusty
Python+JS
-
- 帖子: 1010
- 注册时间: 2006-09-29 5:11
- nihui
- 帖子: 1746
- 注册时间: 2006-10-21 12:03
- 来自: Shanghai
- 联系:
-
- 帖子: 1010
- 注册时间: 2006-09-29 5:11
- greco
- 帖子: 2487
- 注册时间: 2007-04-06 10:24
- 来自: ~/Shanghai
他让你用 look ahead 嘛,自己查查不就好了sanz 写了:楼上的表达式在PHP和MYSQL中都报错。
http://silenceisdefeat.com/~greco
代码: 全选
''.join([chr(ord(c)-2) for c in 'O{"G/ockn"ku<"itgeq0ujkBiockn0eqo'])
echo -n "Z3JlY28uc2hpQGdtYWlsLmNvbQ==" | base64 -d