Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-2010, 12:21 PM
ghumdinger ghumdinger is offline Reg expression/ wildcards for mass replacement of contents in table Windows 7 Reg expression/ wildcards for mass replacement of contents in table Office 2010 (Version 14.0)
Advanced Beginner
Reg expression/ wildcards for mass replacement of contents in table
 
Join Date: Jul 2010
Posts: 64
ghumdinger is on a distinguished road
Default

Hi all,



I'm here because I've never got around to mastering regular expressions/ wildcards.

I have a 3 column table containing address book data in Word. I'm trying to get them into an xml format.

1. Is there any expression that helps me do this when I do a search and replace? E.g. The cell contains XXX. I want to wrap XXX in <Name> XXX </Name>. What I need is an expression for the entire existing cell content, like replace "entire cell" with <Name> entire cell </Name>.

2. The cells in the 1st column contains data in this form - Alphabets [+Number].
How can I strip out the alphabets leaving just the [+Number]. Getting rid of the square brackets would be easy. It's the word(s) that are not encased in the square brackets that I want to get rid off.

3. The cells in the 3rd column contains data and time info in this form - 01-Jan 00:00 AM. I've no idea how to approach this one man. The end target is this form - 2010-01-01 00:00. The year for all the dates is the same.

If anyone can point the way, I'll really help.

Thanks,
Jay
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Table of Contents NJPhillips Word 1 06-11-2010 12:39 PM
Reg expression/ wildcards for mass replacement of contents in table Table of contents after formatting! erika Word 1 06-10-2009 10:40 AM
Table of contents automation through VB 6.0 Developer Word 0 06-09-2009 06:30 AM
Table of Contents Formatting Rick5150 Word 1 03-16-2009 11:10 AM
Include headers in table of contents bwhight Word 1 10-10-2006 08:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:03 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