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)
[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD]Timestamp[/TD]
[TD]Direction[/TD]
[TD]Chat member ID#[/TD]
[TD]Chat member session ID[/TD]
[TD]Color code[/TD]
[TD]Message[/TD]
[/TR]
[TR]
[TD]01.01.2013[/TD]
[TD]RECV[/TD]
[TD]3[/TD]
[TD]11111111111[/TD]
[TD]X[/TD]
[TD]Look 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[/TD]
[/TR]
</tbody>[/TABLE]

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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,885
Messages
6,175,178
Members
452,615
Latest member
bogeys2birdies

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
Back
Top