Anybody got the regex for vimeo video links to extract them from a pragraph for use in php? Can't seem to find a proper one for the latest vimeo url scheme
5条回答 默认 最新
dourao1968 2011-02-15 19:39关注As far as I can tell, the scheme is just
http://vimeo.com/A_NUMBER, so tryhttp://(www\.)?vimeo\.com/(\d+). If you don't need links to be prefixed byhttp://, you can leave off the wholehttp://(www\.)bit.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报