How do I delete all content except certain string

gyagos

New Member
Joined
Mar 27, 2018
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Ive been searching thru the forums and cannot find the answer im looking for. I have a spreadsheet with 2440 rows and im looking to get the following string placed in a different column. Anyhting that starts with cpe:/a:apache:http_server to be exact as there are multiple versions in the spreadsheet and some cels might have 2 entries for 2 different versions
cpe:/a:apache:http_server:2.4.39

The cel in its entirety looks like the following:

"cpe:/a:gnupg:libgcrypt:1.5.3","cpe:/a:ibm:global_security_kit:8.0.50.66","cpe:/a:ibm:tivoli_storage_manager_client:7.1.6.5","cpe:/a:openbsd:openssh:7.4","cpe:/a:apache:log4j:1.2.17","cpe:/a:splunk:splunk:8.2.3","cpe:/a:tenable:nessus_agent:10.1.3","cpe:/a:apache:http_server:2.4.6","cpe:/a:apache:log4j:2.17.1","cpe:/a:docker:docker:1.13.1","cpe:/a:fasterxml:jackson-databind:2.12.1","cpe:/a:fasterxml:jackson-databind:2.9.8","cpe:/a:oracle:openjdk:1.8.0.161.14","cpe:/a:oracle:openjdk:1.8.0.312.07","cpe:/a:pivotal_software:spring_framework:5.0.10","cpe:/a:apache:log4j:2.17.2","cpe:/a:apache:poi:3.17","cpe:/a:apache:struts:1.3.8","cpe:/a:apache:tomcat:8.5.78","cpe:/a:fasterxml:jackson-databind:2.9.7","cpe:/a:pivotal_software:spring_framework:4.3.14","cpe:/a:jquery:jquery:1.11.3","cpe:/a:nginx:nginx:1.8.0","cpe:/a:gitlab:gitlab:13.11.3","cpe:/a:gnupg:libgcrypt:1.8.6","cpe:/a:nginx:nginx:1.18.0","cpe:/a:oracle:jre:1.11.0.13.8-lts"
Thank you in advance
 
Thank you for this.
i just moved data around and it's exactly what i needed. Its a great help
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You're welcome & thanks for the feedback.

Please update your profile as requested, so members don't have to ask you every time.
 
Upvote 0

Forum statistics

Threads
1,223,927
Messages
6,175,432
Members
452,641
Latest member
Arcaila

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