I have to exclude ~ character from on or the field.below is the example
field1=C:\program~\test~.txt
| eval field1=replace(field1,"~","")
View solution in original post