I have a column in sql server 2008 which is a varchar(255). The column is full of 'measurements' and there are around 15,000 records. As the column is of type string and has been manually inputted by human it has become messy e.g.
- 100x200cm
- 200x400mm
- 3" by 9"
- 30 x 20
- 12cm long
Basically I need to extract all measurements (that I can) into usable dimensions and store each unit into a new column (height/width/depth).
Can anyone suggest the best way to go about doing this?
I was looking at regular expression but not sure on the best way forward