URL, RegularExpressions

&lta href=“http://www.google.com”>GOOGLE 1
&lta href=“https://www.google.com/a/b.html”>GOOGLE 2
&lta href=“http://www.google.com/c.xx”>GOOGLE 3

위와 같은 데이터들이 있다면
정규식으로
아래와 같이 나오게 하는 방법을 조건 부탁드립니다.

address site name
http://www.google.com GOOGLE 1
https://www.google.com/a/b.html GOOGLE 2
http://www.google.com/c.xx GOOGLE 3

Hi
May i know what was the issue been faced with this
Kindly elaborate that
Cheers @sumouse

strHtmlSrc =
“&lta href=“http://www.google.com”>GOOGLE 1
&lta href=“https://www.google.com/a/b.html”>GOOGLE 2
&lta href=“http://www.google.com/c.xx”>GOOGLE 3”

strHtmlSrc에서 RegularExpressions을 이용해서 url과 url text를 추출하고 싶습니다.

System.Text.RegularExpressions.Regex.Match

Fine
do you mean like you want to extract any data from the string
if so may i know what string to be extracted

Cheers @sumouse

example>

strUrl = "jsdfl sdkfj;adkfja d <google ksdjf;a asdkj skdjfasld fa google2 sdkfj (http://www.google.com/c.xx”)>

strRegular = “/^(http|https)://([a-z0-9-]+.)+[a-z0-9]{2,4}.*$/”

strUrl에 있는 url주소들을 모두 추출하고 싶습니다.
아래와 같이 사용하는데 잘 되지 않네요
System.Text.RegularExpressions.Regex.Match( strUrl, strRegular).VALUE

Use matches and use URL in it… You can get all URL

방법을 알려 줄 수 있나요?