Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2018, 09:09 AM
donpopo donpopo is offline Replace a character only if it is at the beginning of the paragraph. Windows 10 Replace a character only if it is at the beginning of the paragraph. Office 2007
Novice
Replace a character only if it is at the beginning of the paragraph.
 
Join Date: Nov 2018
Posts: 2
donpopo is on a distinguished road
Default Replace a character only if it is at the beginning of the paragraph.

Hello,


I have an ebook that I correct in Word. I have a problem because each dialog starts with a normal dash without spaces. But, I have, in the whole book more than 5600 dashes.

I want to put another dash only at the beginning of each dialog. (1230 dashes)
If I change my dash, I also change the dashes that are in the different words of the text.



Is there a solution to this problem or do I need to manually replace one by one?
Thank you in advance,
Donpopo
Reply With Quote
  #2  
Old 11-11-2018, 01:09 PM
macropod's Avatar
macropod macropod is offline Replace a character only if it is at the beginning of the paragraph. Windows 7 64bit Replace a character only if it is at the beginning of the paragraph. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can use a Find/Replace, where:
Find = ^p-
Replace = ^&-
The ^p represents a paragraph break and the ^& represents the found text.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-11-2018, 11:32 PM
donpopo donpopo is offline Replace a character only if it is at the beginning of the paragraph. Windows 10 Replace a character only if it is at the beginning of the paragraph. Office 2007
Novice
Replace a character only if it is at the beginning of the paragraph.
 
Join Date: Nov 2018
Posts: 2
donpopo is on a distinguished road
Default

thank you,

that's exactly what I would like to do. it works perfectly. I absolutely did not think about that.

Best regards,
George
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace a character only if it is at the beginning of the paragraph. Space tab at the beginning of each paragraph in a chapter village Word 3 07-20-2018 01:48 AM
Replace a character only if it is at the beginning of the paragraph. Wildcards - Sequence of Numbers at the Beginning of Each Paragraph qubie Word 1 11-30-2017 02:03 PM
Replace a character only if it is at the beginning of the paragraph. Replace a random character with the same character RickLegrand Word 7 07-23-2015 06:35 PM
Replace a character only if it is at the beginning of the paragraph. Replace paragraph-marks (line-breaks) in tables with a character-string Aztec Word VBA 2 04-02-2013 10:52 PM
Looping macros to add text to beginning and end of a paragraph pachmarhi Word VBA 0 02-16-2009 06:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft