| View previous topic :: View next topic |
| Author |
Message |
devicode Site Admin
Joined: 05 Mar 2005 Posts: 248
|
Posted: Sat Apr 21, 2007 8:04 pm Post subject: Extract fields form table columns |
|
|
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 |
|
 |
devicode Site Admin
Joined: 05 Mar 2005 Posts: 248
|
Posted: Sat Apr 21, 2007 8:16 pm Post subject: |
|
|
You will need to create separate fields for each see http://www.devicode.com/forum/about561.html
This is how you would create them
- 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
- 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
- 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
- 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.
- 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.
- 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 |
|
 |
|