Remove non-numeric string from stroke width (px etc.)