|
|
#1 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 25
Karma: 412584
Join Date: Feb 2014
Device: IPAD, KF8 & Tablet
|
Regex replacement
Hi all,
Can anyone suggest me, In Scintilla editor has the replacement limitation. So I couldn't find the ENTER-MARK in the editor. If anybody used this Scintilla editor, Please can you share with me, how to find the Enter-mark(^p or ^J) in this editor. ![]() qsilp |
|
|
|
|
|
#2 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,272
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Windows: \r\n (i.e. carriage return + linefeed) Unix or Mac OSX: \n (i.e. linefeed only) Old Mac: \r (i.e. carriage return only) Edit: It also depends what you're trying to edit. For example if you're editing text in an epub editor (calibre or Sigil) the text probably has Unix-style line endings (\n) no matter what operating system your computer is using. When using any text editor it's a good idea to find the option (if it exists) which displays line endings so you can see what you're dealing with. Last edited by jackie_w; 07-01-2014 at 04:39 PM. |
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
purpose priority passion
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 646
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, rM2, kindle scribe, boox poke5
|
^p sounds like a microsoft word notation for the paragraph marker (line feed/enter/return...whatever you want to call it).
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with a regex | mobiuser | Workshop | 15 | 01-19-2014 06:57 PM |
| Help with some regex | Chaos_Therum | Library Management | 1 | 12-28-2013 12:20 PM |
| Regex | Gunnerp245 | Conversion | 5 | 03-05-2012 05:15 PM |
| regex for character replacement, em-dash questions | cybmole | Calibre | 3 | 10-18-2010 04:09 PM |
| RegEx REPLACEMENT: Help needed! | LARdT | Sigil | 12 | 01-04-2010 08:25 PM |