How to write regular expression

Posted by Santoshlogic under ASP.NET on 2/6/2013 | Points: 10 | Views : 1085 | Status : [Member] | Replies : 1
Hello friends ,i have a one multiline text box , if user enter any data containing "URL" then i want to pick that url with other text and put the URL in <> brackets and save to the database
HOW CAN I DO THIS WITH VB.NET
i am got a regular expression for checking the URL which is as below

/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/

Please suggest me...




Responses

Posted by: lakhansin-22735 on: 7/4/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,

Sorry, but your question is not much clear to me, are you asking about how to save URL in database?

Lakhan Singh
Tech Lead
BeyondKey System Pvt. Ltd.
Indore, M.P.
India

Santoshlogic, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response