Skip to main content

Hello guys

is there a way we could remove the waring in the text file that looks like this

test wrapin 

and get it only in one line with "/"between each line value

the final result should get

P20201_WXL2EAO3AKAU/P20201_WXW2ECO1CVI6//al/WX62D212NFU2

Thanks

Do you know if the wrapping includes line feeds or carriage returns or both? If you turn syntax highlighting to FME in the text editor you should be able to see this


Do you know if the wrapping includes line feeds or carriage returns or both? If you turn syntax highlighting to FME in the text editor you should be able to see this

@ebygomm​ 

thanks for your reply ,

we are dealing with a different doc

sometimes return, sometime both

 


I think this in a StringReplacer with Regular Expression replace should work

(\n|\r)+

Match 1 or more line feeds or carriagereturns and replace with /

image


I think this in a StringReplacer with Regular Expression replace should work

(\n|\r)+

Match 1 or more line feeds or carriagereturns and replace with /

image

Yes it working

Thanks so mutch 

 


Reply