RegEx help: match carriagereturn & linefeed
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 2
- Joined: Tue Apr 10, 2018 3:49 pm
RegEx help: match carriagereturn & linefeed
I need to remove all the carriage-return and linefeeds (hex: 0D & 0A) from a file and \r \n doesn't seem to work.
If I could get some assistance with this, it would be appreciated.
thanks,
lee
If I could get some assistance with this, it would be appreciated.
thanks,
lee
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: RegEx help: match carriagereturn & linefeed
Hi,
In the Find/Replace in Files dialog there is a "Regular Expression" checkbox. If you check it, you can for example search for:
and replace it with nothing.
Regards,
Radu
In the Find/Replace in Files dialog there is a "Regular Expression" checkbox. If you check it, you can for example search for:
Code: Select all
(\r|\n)
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service