Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Notepad++ replace question

  • 18-12-2007 1:50pm
    #1
    Closed Accounts Posts: 1,788 ✭✭✭


    Hi
    I know there is another symbol for a newline char,
    so if i have a huge list
    a
    b
    c
    d
    .
    .
    .

    but want that to become a b c d . . . . .

    i can do a simple replace "newline char" with a space,
    but i can't remember what it is ?
    \n doesn't work ..

    anyone know ?


Comments

  • Closed Accounts Posts: 140 ✭✭Sneaky_Russian


    Ctrl + a (select all)

    then

    Ctrl + j (join lines)


  • Registered Users, Registered Users 2 Posts: 2,082 ✭✭✭Tobias Greeshman


    Could it be you need to use \r\n (cr + lf), instead of just \n in the regex?

    I've never used notepad++, so it's just a guess.


  • Moderators, Technology & Internet Moderators Posts: 1,336 Mod ✭✭✭✭croo


    @jackdaw
    I remember if I transfer a file from dos to unix the dos file has a ^M (Ctrl-M) as a line end ... is this what you are thinking of?


Advertisement