Posted on: 3/7/2015 3:46:54 PM | Views : 592

Hello, sample of a user entered text paragraph is below.  Users can insert a video link under [vinsert]......[/vinsert] tags. I wanted to extract the id number from inner text and replace all text from start to end of the tag so a video will display. Users can insert one or more inserts.
===================================
Dim MyStr2 As String = "<p><span style=color: #222222; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;>[vinsert]http://www.example.com/video/34760/mytestvideo.aspx[/vinsert]</span><span style=color: #222222; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;>&nbsp; </span><p><span style=color: #222222; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;>[vinsert]http://www.example.com/video/66779/baseballtestvideo.aspx[/vinsert]</span><span style=color: #222222; font-family: arial, sans-ser ...

Go to the complete details ...