Understanding Replace with:
Posted: Fri Oct 23, 2009 4:34 pm
I'm sorry to post this, but I can't find what I'm looking for by searching the forum. I'm having a hard time understanding the \1\2 etc. in the Replace with:
Example: note, there is a space before and after each state abbrev.
52 E Columbia St: Othello: WA (509) 488-2312
201 State Highway 59: Douglas: WY (307) 358-4428
101 Missouri Ave: Deer Lodge: MT (406) 846-2525
What I want:
52 E Columbia St: Othello,WA,(509) 488-2312
201 State Highway 59: Douglas,WY,(307) 358-4428
101 Missouri Ave: Deer Lodge,MT,(406) 846-2525
I find all the two letter State abbrev. that has the : (colon) in front of it, although I'm sure this is not the best way to find it, by Find what: :_ .._ 'underscore meaning a space'
In the Replace with: ,\1,
Obviously this is not correct because it just replaces the State abbrev. with ,\1,
I tried Replace with: ,\0,
Which does the replace but it doesn't replace the : (colon) or the spaces.
I've found quite a bit of information on how to search in TextPad, but I haven't found a lot on all the different Replacement patterns.
Is there a good reference that explains things in layman terms when it comes to Replace with:?
Example: note, there is a space before and after each state abbrev.
52 E Columbia St: Othello: WA (509) 488-2312
201 State Highway 59: Douglas: WY (307) 358-4428
101 Missouri Ave: Deer Lodge: MT (406) 846-2525
What I want:
52 E Columbia St: Othello,WA,(509) 488-2312
201 State Highway 59: Douglas,WY,(307) 358-4428
101 Missouri Ave: Deer Lodge,MT,(406) 846-2525
I find all the two letter State abbrev. that has the : (colon) in front of it, although I'm sure this is not the best way to find it, by Find what: :_ .._ 'underscore meaning a space'
In the Replace with: ,\1,
Obviously this is not correct because it just replaces the State abbrev. with ,\1,
I tried Replace with: ,\0,
Which does the replace but it doesn't replace the : (colon) or the spaces.
I've found quite a bit of information on how to search in TextPad, but I haven't found a lot on all the different Replacement patterns.
Is there a good reference that explains things in layman terms when it comes to Replace with:?