t*o
2 楼
硅工强人, 帮忙写个regular expression
$str = 'controller/today' will return today
$str = 'controller/today123' will return today123
$str = 'controller/crazy' will return crazy
$str = 'controller/about' will not return anything.
$str = 'controller/help' will not return anything.
basically if everything after "controller/" is NOT "about", "help","feedback
", return whatever it is.
if it is "help", "about", "service", do not return anything.
tried
?!^, ^?!, [^],
none of them works.
it has to be completed in one regular expression.
$str = 'controller/today' will return today
$str = 'controller/today123' will return today123
$str = 'controller/crazy' will return crazy
$str = 'controller/about' will not return anything.
$str = 'controller/help' will not return anything.
basically if everything after "controller/" is NOT "about", "help","feedback
", return whatever it is.
if it is "help", "about", "service", do not return anything.
tried
?!^, ^?!, [^],
none of them works.
it has to be completed in one regular expression.
H*g
3 楼
【 以下文字转载自 Military 讨论区 】
发信人: MTAS (买买提头号人体艺术大湿), 信区: Military
标 题: Re: 我发明的无把儿剃刀
发信站: BBS 未名空间站 (Mon Jul 18 22:42:39 2016, 美东)
还是你了解叔!叔早就设计出了解放双手的撸管自行车!
http://www.mitbbs.com/article/Joke/33606157_3.html
发信人: MTAS (买买提头号人体艺术大湿), 信区: Military
标 题: Re: 我发明的无把儿剃刀
发信站: BBS 未名空间站 (Mon Jul 18 22:42:39 2016, 美东)
还是你了解叔!叔早就设计出了解放双手的撸管自行车!
http://www.mitbbs.com/article/Joke/33606157_3.html
o*o
4 楼
/controller\/((?!about$|help$|service$).*)/
feedback
【在 t***o 的大作中提到】
: 硅工强人, 帮忙写个regular expression
: $str = 'controller/today' will return today
: $str = 'controller/today123' will return today123
: $str = 'controller/crazy' will return crazy
: $str = 'controller/about' will not return anything.
: $str = 'controller/help' will not return anything.
: basically if everything after "controller/" is NOT "about", "help","feedback
: ", return whatever it is.
: if it is "help", "about", "service", do not return anything.
: tried
feedback
【在 t***o 的大作中提到】
: 硅工强人, 帮忙写个regular expression
: $str = 'controller/today' will return today
: $str = 'controller/today123' will return today123
: $str = 'controller/crazy' will return crazy
: $str = 'controller/about' will not return anything.
: $str = 'controller/help' will not return anything.
: basically if everything after "controller/" is NOT "about", "help","feedback
: ", return whatever it is.
: if it is "help", "about", "service", do not return anything.
: tried
H*g
5 楼
多巧啊。
t*o
6 楼
原来美女也可以这么强大。。。。
我还以为,秃头wsn才可以这么强大那。。。
feedback
【在 t***o 的大作中提到】
: 硅工强人, 帮忙写个regular expression
: $str = 'controller/today' will return today
: $str = 'controller/today123' will return today123
: $str = 'controller/crazy' will return crazy
: $str = 'controller/about' will not return anything.
: $str = 'controller/help' will not return anything.
: basically if everything after "controller/" is NOT "about", "help","feedback
: ", return whatever it is.
: if it is "help", "about", "service", do not return anything.
: tried
我还以为,秃头wsn才可以这么强大那。。。
feedback
【在 t***o 的大作中提到】
: 硅工强人, 帮忙写个regular expression
: $str = 'controller/today' will return today
: $str = 'controller/today123' will return today123
: $str = 'controller/crazy' will return crazy
: $str = 'controller/about' will not return anything.
: $str = 'controller/help' will not return anything.
: basically if everything after "controller/" is NOT "about", "help","feedback
: ", return whatever it is.
: if it is "help", "about", "service", do not return anything.
: tried
l*t
9 楼
军版有了
http://www.gjczz.com/p/jpPS8dGz/dan-ma-cheng-yi-zheng/
【在 H********g 的大作中提到】
: 还是应该留给剃刀。剃刀是个好青年。不像你看了美女还不分享。
http://www.gjczz.com/p/jpPS8dGz/dan-ma-cheng-yi-zheng/
【在 H********g 的大作中提到】
: 还是应该留给剃刀。剃刀是个好青年。不像你看了美女还不分享。
相关阅读
Re: 我也悲愤了! (转载)来道物理题 (转载)军报:领导发言念错字没人敢说 仿佛皇帝的新衣 (转载)机械科学院, 电子科学院,纺织科学院, 建筑科学院等等 (转载)搞笑图片搞笑图片搞笑图片0002喜大普奔,未名微信群来啦!! (转载)Re: 我感觉自己浮起来 (转载)下水道里不光有小丑 还有:2017年愚人节是个值得纪念的日子。雄安新区规划出台,大理客栈勒令关停,驴和文艺青年的诗和远方同时遭受了毁灭性打击。 @renfanzi:雄安新区一事,肥肠简单:其核心地点由三个地方构成,分别是雄petition to ban user id mitbbs (转载)搞笑图片索男都应该看看这个片 (转载)阴道平滑肌痉挛是什么离子通道三体人肉电脑最近回国感想 (转载)乐天的“史上最大促销”销售额不增反降这个社会越来越史丹利的寓言啦搞笑图片