Power Query: keep only specific syntax in a column

Das443344

New Member
Joined
Mar 12, 2020
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I have a column "serial numbers" full of much kind of words and numbers, like in this picture:

1653405097022.png


In the middle of this data, there are 1 or more serial numbers (in the picture above highlighted in yellow) that have always the same syntax xxx.xxx.xxx.xxxx.
I need to remove all other characters and keep only the serial numbers separated by a semicolon, like in this example:

1653405005517.png


Unfortunately as you can see there is no specific delimiter that i could use to extract only the string that has the syntax xxx.xxx.xxx.xxxx.

thanks!
 

Attachments

  • 1653404835996.png
    1653404835996.png
    38.8 KB · Views: 14

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Please reload your sample data using XL2BB so that we don't have to reconstruct your data to test. See my signature for instructions.
 
Upvote 0

Forum statistics

Threads
1,223,663
Messages
6,173,652
Members
452,525
Latest member
DPOLKADOT

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