Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2013, 05:34 AM
macropod's Avatar
macropod macropod is offline Convert RegEx to Word (Devanagari Font Find/Replace) Windows 7 64bit Convert RegEx to Word (Devanagari Font Find/Replace) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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


As I don't know what your Excel construction "(()())" is supposed to represent, I can't really say what the equivalent might be in Word, or whether it's even possible. Word can certainly use a wildcard expression like Find = (A)(B) Replace = \2\1, but you can't use a wildcard expression like Find = ((A)(B)C).

Even so, anything you can do with RegEx code in Excel you can do with the same RegEx code in Word. The RegExp Object is accessed in Word the same as it is in Excel, via either Early or Late Binding. Early Binding requires setting a VBA reference from the Visual Basic Editor via Tools>References>Microsoft VBScript Regular Expression 5.5.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
convert, devanagari, regex



Similar Threads
Thread Thread Starter Forum Replies Last Post
wildcards in find & replace to reverse word order jeffk Word 3 11-11-2012 01:47 PM
MS Word Find and Replace not working allenglishboy Word 10 07-25-2012 08:05 AM
Convert RegEx to Word (Devanagari Font Find/Replace) Word Find and Replace Query bthart Word 1 12-29-2011 12:45 AM
Convert RegEx to Word (Devanagari Font Find/Replace) Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
find&replace word in uppercase with word in lowercase andrei Word 3 10-03-2011 05:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:19 AM.


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