{求助}如何把暗文超级链接转换成明文链接呢

0 views
Skip to first unread message

Chunlei Zhang

unread,
Nov 30, 2009, 11:16:13 AM11/30/09
to 生物教学茶吧, sociallearnlab, edu2
比如(求助)请问各位前辈对于将实验课教学改为探究性教学有何高见

我想把它变成:(求助)请问各位前辈对于将实验课教学改为探究性教学有何高见 http://groups.google.com/group/bioteahouse/browse_thread/thread/8672284adfc86d92?hl=zh-CN

不知道有什么批量处理的方法

--
Chunlei Zhang
Ph.D. candidate
Major: Curriculum & Teaching
Scholar Interests: science education; teacher training ; teacher knowledge; tpck; concept map
Biology Teaching Club:http://sites.google.com/site/bioteahouse/

Chunlei Zhang

unread,
Dec 9, 2009, 5:14:44 AM12/9/09
to 生物教学茶吧, sociallearnlab, edu2
问题已经部分得到了解决,也就是可以利用正则表达式+regex

正则表达式wiki: http://zh.wikipedia.org/wiki/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F
regex: http://regexlib.com/RETester.aspx

我使用的表达式:[a-zA-z]+://[^\s]*
表达式来自:http://www.williamlong.info/archives/433.html

由于我找的网站都是.cn结尾的,所以我又在后面加上了.cn  表达式变为:[a-zA-z]+://[^\s]*.cn

一下子网站地址就都出来了

谢谢ZQ的指点!


2009/12/1 Chunlei Zhang <luk...@gmail.com>
Reply all
Reply to author
Forward
0 new messages