Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-08-2014, 05:17 AM
ballst ballst is offline Advanced Find & Replace help needed Windows XP Advanced Find & Replace help needed Office 2003
Advanced Beginner
Advanced Find & Replace help needed
 
Join Date: Dec 2014
Posts: 32
ballst is on a distinguished road
Default Advanced Find & Replace help needed

Hi, new to forum so advanced apologies if anything in my post is out of place, or unclear.

I have some extemely large dumps of data that I need to sort from their present format into something more user friendly. The three examples below are from 11000+ I'm dealing with.

at_case_id 61626
ca_case_ref LON/00AH/OCE/2014/0295
at_created_dt 2014-12-03 13:26:46
at_audit_type WORDCREATE
at_audit_note Dir/Resp (McMillan Williams Solicitors)
at_user_id 187

at_case_id 61626
ca_case_ref LON/00AH/OCE/2014/0295
at_created_dt 2014-12-03 13:39:56
at_audit_type DOCTOCASE
at_audit_note Directions
at_user_id 187

at_case_id 61636
ca_case_ref LON/00AP/OCE/2014/0296
at_created_dt 2014-11-19 17:30:33
at_audit_type NEWCASE
at_audit_note
at_user_id 49

At it's simplest I need to change the data from a column structure into rows. However its currently too big for Excel, so the idea was to use Word to find each field, and copy and paste into a spreadsheet.

I'm able to do this with fields which are a fixed length using the find all and special characters, so for example all the 11000+ "at_case_id" can be found using the search at_user_id^w^#^#^#^#^#.

The problem I am finding is when the fields are of an unfixed length "at_user_id" for example can be either 2 or 3 characters following the tab / whitespace.

Worse still are "at_audit_type" and "at_audit_note" which as the next example show are again an unfixed length and can carry over to another line.

at_case_id 61626
ca_case_ref LON/00AH/OCE/2014/0295
at_created_dt 2014-11-26 14:40:17
at_audit_type SFLPAPTRK
at_audit_note Send 1st Letters (Paper Track) - Letter(s) sent AND replies expe
cted. Move on to Confirm Paper Track or Change Track
at_user_id 187

at_case_id 61626
ca_case_ref LON/00AH/OCE/2014/0295
at_created_dt 2014-11-26 14:43:44
at_audit_type PAPTRKCRMD
at_audit_note PC (Confirm or Change Track) Result = Standard
at_user_id 187

I'm thinking that a need some kind of find which searches the start of each field, ie the "at_case_id" bit and then the end of the data in that particular line. However I'm damned if I know how...

I'd therefore be really grateful if anyone could point/lead me in the right direction.

Cheers,


Ballst
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Find & Replace help needed Find/Replace Wildcard Needed-Bold & Highlight rsrasc Word VBA 3 11-11-2014 03:55 PM
Advanced Find & Replace help needed New Find/Replace Wildcard Needed rsrasc Word VBA 2 11-11-2014 09:46 AM
Advanced Find & Replace help needed Find/Replace Wildcard Needed rsrasc Word VBA 4 11-11-2014 08:28 AM
Advanced search and replace for bullet points TishyMouse Word 5 02-17-2012 06:32 AM
Advanced Find & Replace help needed 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 04:33 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