{"action":"created","issue":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/462","labels_url":"https://api.github.com/repos/atom/find-and-replace/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/atom/find-and-replace/issues/462/comments","events_url":"https://api.github.com/repos/atom/find-and-replace/issues/462/events","html_url":"https://github.com/atom/find-and-replace/issues/462","id":97151237,"number":462,"title":"Issues with replacing newline","user":{"login":"rjbergerud","id":10406289,"avatar_url":"https://avatars.githubusercontent.com/u/10406289?v=3","gravatar_id":"","url":"https://api.github.com/users/rjbergerud","html_url":"https://github.com/rjbergerud","followers_url":"https://api.github.com/users/rjbergerud/followers","following_url":"https://api.github.com/users/rjbergerud/following{/other_user}","gists_url":"https://api.github.com/users/rjbergerud/gists{/gist_id}","starred_url":"https://api.github.com/users/rjbergerud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjbergerud/subscriptions","organizations_url":"https://api.github.com/users/rjbergerud/orgs","repos_url":"https://api.github.com/users/rjbergerud/repos","events_url":"https://api.github.com/users/rjbergerud/events{/privacy}","received_events_url":"https://api.github.com/users/rjbergerud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T21:30:52Z","updated_at":"2015-07-28T21:04:26Z","closed_at":null,"body":"I'm having issues making this work.  I have an html string with lots of return statements as in \r\n \r\n```html\r\n<a class=\"js-features-page usage-logging-enabled\" href=\"https://www.google.ca\" page-name=\"linkedChannels\">\r\n\t<i class=\"icon-bar-chart-o\"> </i>\r\n\t          <span data-i18n=\"menuSidebar.linkedChannels\">Linked Seller Accounts</span>\r\n</a>\r\n```\r\n\r\nI would like to replace all newline characters by either escaping them with a backslash or simply replacing them with whitespace.  I can select them by using the regex option, but when I go to replace them with other characters, it simply appends them after the newline.\r\n"},"comment":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/comments/125753488","html_url":"https://github.com/atom/find-and-replace/issues/462#issuecomment-125753488","issue_url":"https://api.github.com/repos/atom/find-and-replace/issues/462","id":125753488,"user":{"login":"benogle","id":69169,"avatar_url":"https://avatars.githubusercontent.com/u/69169?v=3","gravatar_id":"","url":"https://api.github.com/users/benogle","html_url":"https://github.com/benogle","followers_url":"https://api.github.com/users/benogle/followers","following_url":"https://api.github.com/users/benogle/following{/other_user}","gists_url":"https://api.github.com/users/benogle/gists{/gist_id}","starred_url":"https://api.github.com/users/benogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benogle/subscriptions","organizations_url":"https://api.github.com/users/benogle/orgs","repos_url":"https://api.github.com/users/benogle/repos","events_url":"https://api.github.com/users/benogle/events{/privacy}","received_events_url":"https://api.github.com/users/benogle/received_events","type":"User","site_admin":true},"created_at":"2015-07-28T21:04:26Z","updated_at":"2015-07-28T21:04:26Z","body":"What kind of line endings do you have? Can you try replacing `\\r\\n`? I assume you have the `regex` option set."}}