djgenesis13
New Member
- Joined
- Apr 24, 2014
- Messages
- 22
Hello guys,
I have a column with cells containing html code with various tags, text and various links. Somewhere in these cells there are some hyperlinks of various length from a specific domains
The format of the urls are http://www then followed by a random number, then a specific domain and then the rst of the url
for example:
<a href="http://www26.dddeeeccc.com/g/sdgsadg/1.html">
<a href="http://www45.dddeeeccc.com/h/zxcvasga/2.html">
<a href="http://www31.dddeeeccc.com/e/eqrgxzv/3.html">
<a href="http://www2.dddeeeccc.com/i/34tasdf/4.html">
<a href="http://www65.dddeeeccc.com/d/arhtk/5.html">
<a href="http://www78.dddeeeccc.com/a/hgjkvbcn/6.html">
as you can see, only "dddeeeccc.com" remains the same.
so lets say that in one cell I have
<div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: center;"></div><div dir="ltr" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><img src="http://i.dsdfsf.com/0yGCYO3.jpg" height="355" width="728" /></div><br /><div class="separator" style="clear: both; text-align: center;"><span class="Apple-style-span" style="color: yellow; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><b>asfjhiuqrtjjxcnvjhuiheugahiandsfkjgvnak;kjgn;kdfngqk;ej;agh;adjng!</b></span></div><div class="separator" style="clear: both;"></div><a name='more'></a><br /><!-- Adsense --><br /><img border="0" height="120" src="https://lh3.sdfsddfsdfsdfsf.com/8CWv9-SpK5xLIcdrAuVnhQ18T8U8fXlkyzfwftFpUTJ9kmbc7O9qoNkRjaPKdbKDPg=w300" width="120" /><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><b style="color: white;"><u>Notific</u></b><span class="Apple-style-span" style="color: lime; font-size: xx-small;"><a href="https://sdfsdf.sdfsdfsdfs.com/sdfsdf/apsdfsdsdfps/details?id"><a href="http://www26.dddeeeccc.com/v/ySXClqAC/1.html"><div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: center;"></div><div dir="ltr" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><img src="http://i.dsdfsf.com/0yGCYO3.jpg" height="355" width="728" /></div><br /><div class="separator" style="clear: both; text-align: center;"><span class="Apple-style-span" style="color: yellow; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><b>piuahfgpiashahggfaihgipahgipahgui</b></span></div><div class="separator" style="clear: both;"></div><a name='more'></a><br /><!-- Adsense --><br /><img border="0" height="120" src="https://lh3.sdfsddfsdfsdfsf.com/8CWv9-SpK5xLIcdrAuVnhQ18T8U8fXlkyzfwftFpUTJ9kmbc7O9qoNkRjaPKdbKDPg=w300" width="120" /><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><b style="color: white;"><u>Notific</u></b><span class="Apple-style-span" style="color: lime; font-size: xx-small;"><a href="https://sdfsdf.sdfsdfsdfs.com/sdfsdf/apsdfsdsdfps/details?id">
[TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl63, width: 64"][/TD]
[/TR]
</tbody>[/TABLE]
Thanks[/URL]
I have a column with cells containing html code with various tags, text and various links. Somewhere in these cells there are some hyperlinks of various length from a specific domains
The format of the urls are http://www then followed by a random number, then a specific domain and then the rst of the url
for example:
<a href="http://www26.dddeeeccc.com/g/sdgsadg/1.html">
<a href="http://www45.dddeeeccc.com/h/zxcvasga/2.html">
<a href="http://www31.dddeeeccc.com/e/eqrgxzv/3.html">
<a href="http://www2.dddeeeccc.com/i/34tasdf/4.html">
<a href="http://www65.dddeeeccc.com/d/arhtk/5.html">
<a href="http://www78.dddeeeccc.com/a/hgjkvbcn/6.html">
as you can see, only "dddeeeccc.com" remains the same.
so lets say that in one cell I have
<div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: center;"></div><div dir="ltr" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><img src="http://i.dsdfsf.com/0yGCYO3.jpg" height="355" width="728" /></div><br /><div class="separator" style="clear: both; text-align: center;"><span class="Apple-style-span" style="color: yellow; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><b>asfjhiuqrtjjxcnvjhuiheugahiandsfkjgvnak;kjgn;kdfngqk;ej;agh;adjng!</b></span></div><div class="separator" style="clear: both;"></div><a name='more'></a><br /><!-- Adsense --><br /><img border="0" height="120" src="https://lh3.sdfsddfsdfsdfsf.com/8CWv9-SpK5xLIcdrAuVnhQ18T8U8fXlkyzfwftFpUTJ9kmbc7O9qoNkRjaPKdbKDPg=w300" width="120" /><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><b style="color: white;"><u>Notific</u></b><span class="Apple-style-span" style="color: lime; font-size: xx-small;"><a href="https://sdfsdf.sdfsdfsdfs.com/sdfsdf/apsdfsdsdfps/details?id"><a href="http://www26.dddeeeccc.com/v/ySXClqAC/1.html"><div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: center;"></div><div dir="ltr" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><img src="http://i.dsdfsf.com/0yGCYO3.jpg" height="355" width="728" /></div><br /><div class="separator" style="clear: both; text-align: center;"><span class="Apple-style-span" style="color: yellow; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><b>piuahfgpiashahggfaihgipahgipahgui</b></span></div><div class="separator" style="clear: both;"></div><a name='more'></a><br /><!-- Adsense --><br /><img border="0" height="120" src="https://lh3.sdfsddfsdfsdfsf.com/8CWv9-SpK5xLIcdrAuVnhQ18T8U8fXlkyzfwftFpUTJ9kmbc7O9qoNkRjaPKdbKDPg=w300" width="120" /><br /><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><b style="color: white;"><u>Notific</u></b><span class="Apple-style-span" style="color: lime; font-size: xx-small;"><a href="https://sdfsdf.sdfsdfsdfs.com/sdfsdf/apsdfsdsdfps/details?id">
[TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl63, width: 64"]
[URL="https://sdfsdf.sdfsdfsdfs.com/sdfsdf/apsdfsdsdfps/details?id"]I want to extract this only:
[/TR]
</tbody>[/TABLE]
Thanks[/URL]
Last edited: