Devicode Technology Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Extract fields form table columns

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Devicode Technology Forum Index -> Response Mailer
View previous topic :: View next topic  
Author Message
devicode
Site Admin


Joined: 05 Mar 2005
Posts: 249

PostPosted: Sat Apr 21, 2007 8:04 pm    Post subject: Extract fields form table columns Reply with quote

How do I extract the "Moving From"- city, state, and zip. And the "Moving To" city, state, and zip. With out them getting mixed up?
Code:
Moving From   Moving To    
City   L.A    City   Noth hollywood   
State  CA     State  CA   
Zip    90011  Zip    91234       
Comments and/or Additional Items   
Back to top
View user's profile Send private message Visit poster's website
devicode
Site Admin


Joined: 05 Mar 2005
Posts: 249

PostPosted: Sat Apr 21, 2007 8:16 pm    Post subject: Reply with quote

You will need to create separate fields for each see http://www.devicode.com/forum/about561.html

This is how you would create them

  1. Create field FromCity.
    # Start of Data Field'
    For the FROM select 'Specific text'
    For the TEXT enter City(.*?)City
    # 'End of Data Field'
    For the TO select 'Use Match String'
    For the TEXT enter 1

  2. Create field FromState.
    # Start of Data Field'
    For the FROM select 'Specific text'
    For the TEXT enter State(.*?)State
    # 'End of Data Field'
    For the TO select 'Use Match String'
    For the TEXT enter 1

  3. Create field FromZip.
    # Start of Data Field'
    For the FROM select 'Specific text'
    For the TEXT enter Zip(.*?)Zip
    # 'End of Data Field'
    For the TO select 'Use Match String'
    For the TEXT enter 1

  4. Create field ToCity.
    # Start of Data Field'
    For the FROM select 'Specific text'
    For the TEXT enter City(.*?)City
    # 'End of Data Field'
    For the TO select 'End of line'
    Check the 'Above words/phrases are regular expression' box.

  5. Create field ToState.
    # Start of Data Field'
    For the FROM select 'Specific text'
    For the TEXT enter State(.*?)State
    # 'End of Data Field'
    For the TO select 'End of line'
    Check the 'Above words/phrases are regular expression' box.

  6. Create field ToZip.
    # Start of Data Field'
    For the FROM select 'Specific text'
    For the TEXT enter Zip(.*?)Zip
    # 'End of Data Field'
    For the TO select 'End of line'
    Check the 'Above words/phrases are regular expression' box.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Devicode Technology Forum Index -> Response Mailer All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group