I am trying to replace string into number from the file
So, I have variable &FLOW which need to change to 001, ex :

```
cat file.txt
This is file ' PISP &FLOW'
PISD.DATA.CYCLE&FLOW..ONE

```

desired output 

```
This is file ' PISP 001'
PISD.DATA.CYCLE001.ONE

```

I tried below commands in a script :

```
for item in file.txt
do
sed 's/\&FLOW/\./001/g' $item
sed 's/\&FLOW/001/g' $item
done

```

It is giving error. The second sed command is working, but I need to run first the beginning sed command otherwise after running first the second sed command, it would ignore the beginning sed command. 

Any help would be appreciated!