$_="I want to replace
in my string. I have to search for the
and replace it with space. Thanks"; s/
/ /gi; print; #### I want to replace in my string. I have to search for the and replace it with space. Thanks
## I want to replace in my string. I have to search for the and replace it with space. Thanks