Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2021, 11:19 PM
Jakov93 Jakov93 is offline Using Find & Replace in Word instead of GREP Function in Adobe Indesign Windows 10 Using Find & Replace in Word instead of GREP Function in Adobe Indesign Office 2010
Advanced Beginner
Using Find & Replace in Word instead of GREP Function in Adobe Indesign
 
Join Date: Jul 2021
Posts: 51
Jakov93 is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
If your document follows the same pattern as the demo you attached
Yes, it follows the same pattern

Quote:
Originally Posted by Guessed View Post
this code will convert its contents.
Wow, it's wonderful and amazing
Again, thank you thank you

Last edited by Jakov93; 10-15-2021 at 04:12 AM.
Reply With Quote
  #2  
Old 10-15-2021, 03:26 AM
Jakov93 Jakov93 is offline Using Find & Replace in Word instead of GREP Function in Adobe Indesign Windows 10 Using Find & Replace in Word instead of GREP Function in Adobe Indesign Office 2010
Advanced Beginner
Using Find & Replace in Word instead of GREP Function in Adobe Indesign
 
Join Date: Jul 2021
Posts: 51
Jakov93 is on a distinguished road
Default

Dear Andrew,
after working with my data, it appears that messages are reversely sorted(newest to oldest) which is not a suitable choice and requires reading from bottom to top.

However, I faced the same problem mentioned in this post:
https://www.msofficeforums.com/word/...tml#post163131

But after googling, the sorting depends on the application that used for exporting messages
for example,
Super Backup Pro, makes XML and sort messages from newest to oldest.
SMS Backup & Restore, make XML and sort messages from oldest to newest (best choice).

So according to (SMS Backup & Restore), the pattern was changed to this:
Code:
<sms protocol=”0″ address=”+111111111111″ date=”1615582579995″ type=”1″ subject=”null” body=”my message……” toa=”null” sc_toa=”null” service_center=”+111111111111″ read=”1″ status=”-1″ locked=”0″ date_sent=”1615582589000″ readable_date=”Mar 12, 2021 11:56:19 PM” contact_name=”Ruyan” />
So please edit your code to extract these contents only:
body
readable_date
type

See attached file.
Attached Files
File Type: docx demo2.docx (16.9 KB, 9 views)

Last edited by Jakov93; 10-15-2021 at 11:40 AM.
Reply With Quote
Reply

Tags
find & replace, find replace;wildcards, word vba

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some text are missing while importing into Adobe InDesign Muthukumaran Word 2 07-23-2019 11:30 PM
Using Find &amp; Replace in Word instead of GREP Function in Adobe Indesign Function in a Macro used to Find & Replace koehlerc14 Word VBA 3 02-15-2019 11:59 AM
Using Find &amp; Replace in Word instead of GREP Function in Adobe Indesign Find and Replace function shooting off screen to the left of the document Mattblack Word 1 04-10-2014 03:06 PM
Indesign Table to MS word for Editing Kathy Neal Word Tables 1 01-15-2013 07:56 AM
Using Find &amp; Replace in Word instead of GREP Function in Adobe Indesign Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM

Other Forums: Access Forums

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