I want to extract the string between GROSS and kg and remove whitespace in this text :
ID.NO. 123456
DATE 02/05/21
TIME 01:52 AM
GROSS- 13.5 kg
TARE 0.0 kg
NET - 13.5 kg
my best result yet is (?<=GROSS)(.*)(?=kg) with the result is - 13.5
still need to remove the whitespace.