what is the syntax to replace a given letter in a doc for a new line in find and replace?

Anonymous
2024-10-23T16:44:48+00:00

here is the text:

sentence of words/ sentence of words/sentence of words/sentence of words/sentence of words/sentence of words/sentence of words/sentence of words/sentence of words/

I would like to replace every slash("/") with a new line so it looks like this:

sentence of words

sentence of words

sentence of words

sentence of words

notice there is no slash after each sentence

What should I type in the replace with section to add a new line?

I've tried "^l" but it just types ^l instead of adding line-like this: ****

sentence of words^l sentence of words^l sentence of words^ sentence of words^l

Microsoft 365 and Office | Word | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-23T18:42:45+00:00

    Dear penname_903,

    Good day! Thank you for posting to Microsoft Community. We are happy to help you.

    We are sorry to hear that you’re having trouble with syntax to replace a given letter in a doc for a new line in find and replace. I deeply understand the inconvenience caused and apologize for it.

    To replace every slash (“/”) with a new line in a document, you can use the “Find and Replace” feature with the correct syntax:

    1. Open the Find and Replace dialog (usually Ctrl + H).
    2. In the “Find what” field, type /.
    3. In the “Replace with” field, type ^p

    We appreciate your understanding that sometimes the initial response may not resolve the problem immediately. However, we can work together to narrow down and resolve the situation. So, please let me know if you have any further questions or if there are any misunderstandings.

    Once again, I apologize for the inconvenience this has caused. We appreciate your patience and understanding and thank you for your time and cooperation.

    Sincerely,

    Ralph Chawatama | Microsoft Community Moderator

    0 comments No comments
  2. Suzanne S Barnhill 275K Reputation points MVP Volunteer Moderator
    2024-10-24T00:36:52+00:00

    Ralph's solution will replace the slash with a paragraph break. If you actually just want a line break, use ^l (lowercase L) instead.

    1 person found this answer helpful.
    0 comments No comments