Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

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 01:13 PM.


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