Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2017, 08:33 AM
cheech1981 cheech1981 is offline Advanced Replace -- Incorrect Output Order Windows 7 64bit Advanced Replace -- Incorrect Output Order Office 2010 64bit
Advanced Beginner
Advanced Replace -- Incorrect Output Order
 
Join Date: Nov 2011
Location: New Jersey, USA
Posts: 77
cheech1981 is on a distinguished road
Default Advanced Replace -- Incorrect Output Order

Hi all. I would like to replace the hyphen between two numerals with an en dash.



Example of Original String:
12-18

Desired Output:
12–18

My Wildcard Search:

Find: (-)([0-9])
Replace: –\2

Output is 121–8 instead of the desired 12–18. Could you kindly give my brain a nudge--what am I missing? Thank you in advance for any info or assistance!
Reply With Quote
  #2  
Old 09-18-2017, 01:58 PM
macropod's Avatar
macropod macropod is online now Advanced Replace -- Incorrect Output Order Windows 7 64bit Advanced Replace -- Incorrect Output Order Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

What you're seeing is probably because 'Track Changes' is on.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 09-18-2017, 04:44 PM
cheech1981 cheech1981 is offline Advanced Replace -- Incorrect Output Order Windows 7 64bit Advanced Replace -- Incorrect Output Order Office 2010 64bit
Advanced Beginner
Advanced Replace -- Incorrect Output Order
 
Join Date: Nov 2011
Location: New Jersey, USA
Posts: 77
cheech1981 is on a distinguished road
Default

Oops forgot about that! Thanks Paul.
Reply With Quote
Reply

Tags
find, order, replace



Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Find & Replace help needed ballst Word 8 12-11-2014 07:50 AM
wildcards in find & replace to reverse word order jeffk Word 3 11-11-2012 01:47 PM
Advanced search and replace for bullet points TishyMouse Word 5 02-17-2012 06:32 AM
Password is incorrect--but it's not. orcasguy Outlook 2 11-10-2011 02:17 PM
Advanced Replace -- Incorrect Output Order Advanced find and replace anno1404 Word 1 10-21-2010 03:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:23 PM.


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