Top "Carriage-return" questions

Carriage return is one of the control characters in ASCII code, Unicode, EBCDIC, and many other codes.

How to match whitespace, carriage return and line feed using regular expression in PHP?

I am working with a regular expression in PHP. I have the following string: <img src="/files/admin/hotel_…

php html regex whitespace carriage-return
How to remove the carriage return from string while pasting content to Excel file

I have a problem while pasting my contents (or text) generated by Java code into excel. The problem is that …

java excel carriage-return
gVim showing carriage return (^M) even when file mode is explicitly DOS

I'm using gVim on Windows. My code shows ^M characters at the end of lines. I used :set ff=dos …

vim carriage-return line-endings
python: print using carriage return and comma not working

I need to print over one line in a loop (Python 3.x). Looking around on SO already, I put this …

python newline carriage-return
How to remove a carriage return from a string

String s ="SSR/DANGEROUS GOODS AS PER ATTACHED SHIPPERS /DECLARATION 1 PACKAGE NFY /ACME CONSOLIDATORS" How to strip the space between "…

java regex carriage-return
How to use \r to print on same line?

I have made a downloader: #!/usr/bin/env python #-*- coding:utf-8 -*- from __future__ import print_function, …

python python-3.x stdout carriage-return
Remove carriage return and space from a string

I want to remove carriage return and space from a string for exemple: var t =" \n \n aaa \n bbb \…

javascript regex space carriage-return
How can I overwrite/print over the current line in Windows command line?

On Unix, I can either use \r (carriage return) or \b (backspace) to overwrite the current line (print over text …

python windows command-line overwrite carriage-return
MySQL: carriage-return in query

I have a query that exports data from two columns of each row into a file. In the file data …

mysql carriage-return
Finding line break and carriage return (\r\n) in MySQL

I can't seem to find any info about this on the internet (or I'm just not looking in the right …

mysql regex select carriage-return line-breaks