我需要一个函数来返回此字符串中视频的所有链接:
amf-editor|Joss Whedon||amf-img|<!--dle_image_begin:http://www.cpasbiens.eu/uploads/posts/2015-04/1430088868_avengers-age-of-ultrona.jpg|--><img src="http://www.cpasbiens.eu/uploads/posts/2015-04/1430088868_avengers-age-of-ultrona.jpg" alt="AVENGERS: AGE OF ULTRON" title="AVENGERS: AGE OF ULTRON" /><!--dle_image_end-->||amf-actor|Robert Downey Jr., Chris Evans, Mark Ruffalo||video1|http://videomega.tv/cdn.php?ref=048082108051120119074100048070070048100074119120051108082048&width=660&height=400||video2|https://openload.co/embed/_8xErAYN2yU/Avengers.Age.of.Ultron.2015.720p.BluRay.HD_%7C_www.onlinemovies.is_%7C.mp4||video3|http://vid.ag/embed-vxgzplvnegh8.html
For example :
$video1 = http://videomega.tv/cdn.php? ref=048082108051120119074100048070070048100074119120051108082048&width=660&height=400
$video2 = https://openload.co/embed/_8xErAYN2yU/Avengers.Age.of.Ultron.2015.720p.BluRay.HD_%7C_www.onlinemovies.is_%7C.mp4
$video3 = http://vid.ag/embed-vxgzplvnegh8.html
谢谢
答案 0 :(得分:0)
这一行正则表达式可能会有所帮助。
gvwWebsites.Rows[e.RowIndex].Cells[e.ColumnIndex].ErrorText = "You have already used that address.";