Hi
Try this :
If trim(replace(Mid({Sheet1_.Description},instr({Sheet1_.Description},'Pkg'),20),"Pkg"," ")) startswith "/" then
Tonumber(replace(trim(replace(Mid({Sheet1_.Description},instr({Sheet1_.Description},'Pkg'),20),"Pkg"," ")),"/"," "))
else
Tonumber(trim(replace(Mid({Sheet1_.Description},instr({Sheet1_.Description},'Pkg'),20),"Pkg"," ")))
Note : replace '{Sheet1_.Description}' with your database field name