首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

高人帮忙看看这个正则表达式啥意思?该怎么解决

2012-03-04 
高人帮忙看看这个正则表达式啥意思?s/\s\d+:+\d+:+\d+//g自学了半天正则表达式,还是不解中。[解决办法]/\s

高人帮忙看看这个正则表达式啥意思?
s/\s\d+:+\d+:+\d+//g;
自学了半天正则表达式,还是不解中。

[解决办法]
/\s\d+:+\d+:+\d+/g

估计是时间的。但有点不太对。
[解决办法]
882343:::::583234:::::893/g

[解决办法]
s/ 3:8:8//g

s/\s\d+:+\d+:+\d+//g
Match the characters "s/ " literally
Match a single character that is a "whitespace character " (spaces, tabs, line breaks, etc.)
Match a single digit 0..9
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Match the character ": " literally
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Match a single digit 0..9
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Match the character ": " literally
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Match a single digit 0..9
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Match the characters "//g " literally

热点排行