Finding website links in a column and copying to another sheet

Artagnan

New Member
Joined
Sep 24, 2014
Messages
1
Hi

I pretty much have no prior knowledge to visual basic, or the macro/function in excel for that matter, so bare with me.

I'm reading through a MASSIVE chat log that has been imported to excel. The format of the log is like this: (all fictional)
TimestampDirectionChat member ID#Chat member session IDColor codeMessage
01.01.2013RECV311111111111XLook at this file:
<files alt="sending file " dad.jpg""=""> <files alt="sending file " dad.jpg""=""> <file size="843927" index="0" time="11111111">dad.jpg</file></files></files>
And www.junkfiles.com

<tbody>
</tbody>

What I want to do is parse through the message column, and find all cell with occourences of either filesharing or containing links.
When these cells are found, I want to copy the entire associated row to another spreadsheet, and keep copying further results into the same sheet on the row below.

I attempted to do some research for a search function using regular expressions but I couldn't find a good answer or guide how to do this.
I know how to write a regular expression, but not how to utilize it in this scenario.

Does anyone have a good solution for this?

-Thanks
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,212
Messages
5,836,034
Members
430,401
Latest member
Kalleahlqvist

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top