I have a file with 100's of lines similar to this line;
41.6750,-81.4217,PGas,700 Cty Rd H,Elkharden,WA,362-623-5410
I want to end up with; comma's replaced w/ spaces around state abbr.
41.6750,-81.4217,PGas,700 Cty Rd H,Elkharden WA 362-623-5410
I've tried doing it a couple of ways but my ...
Search found 17 matches
- Mon Aug 15, 2016 6:13 pm
- Forum: General
- Topic: Replacing characters after being used to find an item
- Replies: 1
- Views: 1799
- Tue Jan 03, 2012 12:00 pm
- Forum: General
- Topic: Deleting between two expressions
- Replies: 3
- Views: 528
- Mon Jan 02, 2012 3:14 pm
- Forum: General
- Topic: Deleting between two expressions
- Replies: 3
- Views: 528
Deleting between two expressions
- American Canyon #1651,
- Anaheim #2242,
- Anderson #5133,
- Antelope #1881,
- Bakersfield #1574,
- Bakersfield #5134,
- Baldwin Park #3522,
- Beaumont #5156,
- Brawley #5335,
I have the above text in a file. I want to search for anything that's between the hyphen '-' and the pound sign '#' and ...
- Anaheim #2242,
- Anderson #5133,
- Antelope #1881,
- Bakersfield #1574,
- Bakersfield #5134,
- Baldwin Park #3522,
- Beaumont #5156,
- Brawley #5335,
I have the above text in a file. I want to search for anything that's between the hyphen '-' and the pound sign '#' and ...
- Wed Sep 22, 2010 10:15 pm
- Forum: General
- Topic: Moving section of text to end of line
- Replies: 4
- Views: 490
Ben, I wonder if you could talk me through the syntax of this line you provided? Including the "Replace with". It gets a little confusing. Especially when I try to test some of the different methods. A couple of times the \1\2 etc. doesn't work the way I'd expect and then I get stuck. I think I've ...
- Wed Sep 22, 2010 4:05 pm
- Forum: General
- Topic: Moving section of text to end of line
- Replies: 4
- Views: 490
- Tue Sep 21, 2010 10:35 pm
- Forum: General
- Topic: Moving section of text to end of line
- Replies: 4
- Views: 490
Moving section of text to end of line
I have a file with approx. 1000 lines with over half of the lines that begin with RV... following the third comma, similar to this.
3488,10033,some txt, RV text,I-80 Exit 2,Big Lake,ID,84822,(423)405-1191,
I'd like to move the part that begins with "RV to next comma", ie. "RV text", and add it to ...
3488,10033,some txt, RV text,I-80 Exit 2,Big Lake,ID,84822,(423)405-1191,
I'd like to move the part that begins with "RV to next comma", ie. "RV text", and add it to ...
- Sat Oct 24, 2009 2:33 am
- Forum: General
- Topic: Understanding Replace with:
- Replies: 2
- Views: 738
- Fri Oct 23, 2009 4:34 pm
- Forum: General
- Topic: Understanding Replace with:
- Replies: 2
- Views: 738
Understanding Replace with:
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 ...
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 ...
- Tue Oct 20, 2009 11:43 am
- Forum: General
- Topic: Is this possible in TextPad?
- Replies: 4
- Views: 823
- Mon Oct 19, 2009 11:15 pm
- Forum: General
- Topic: Is this possible in TextPad?
- Replies: 4
- Views: 823
Is this possible in TextPad?
Ames, TX
710 East Main Street
Cedar Grove Park
Anahuac, TX
1512 South Main Street
Trinity Bay
Anna, TX
Hwy. 75 Exit 48
715 South Central Expressway
Love's - Travel Stops
Can I have TextPad search for each of the lines with ,TX but then back up to the beginning of the City ahead of the ,TX and place ...
710 East Main Street
Cedar Grove Park
Anahuac, TX
1512 South Main Street
Trinity Bay
Anna, TX
Hwy. 75 Exit 48
715 South Central Expressway
Love's - Travel Stops
Can I have TextPad search for each of the lines with ,TX but then back up to the beginning of the City ahead of the ,TX and place ...
- Mon Oct 19, 2009 2:51 am
- Forum: General
- Topic: Working with Numbers
- Replies: 5
- Views: 517
- Sun Oct 18, 2009 5:03 pm
- Forum: General
- Topic: Working with Numbers
- Replies: 5
- Views: 517
Working with Numbers
-94.1476, 36.3341,
-94.981617, 35.881339,
-94.22168, 36.36895,
-97.480064, 25.921765,
-104.6628, 38.23505,
This is a short section of hundreds of records in a large text file.
I want to add two zero's to the end of both sets of all numbers when the numbers only have four decimal places. -94 ...
-94.981617, 35.881339,
-94.22168, 36.36895,
-97.480064, 25.921765,
-104.6628, 38.23505,
This is a short section of hundreds of records in a large text file.
I want to add two zero's to the end of both sets of all numbers when the numbers only have four decimal places. -94 ...
- Sat Apr 14, 2007 11:23 pm
- Forum: General
- Topic: Regular Expressions for Find/Replace
- Replies: 8
- Views: 1949
- Sat Apr 14, 2007 9:21 pm
- Forum: General
- Topic: Regular Expressions for Find/Replace
- Replies: 8
- Views: 1949
Thanks for the info... both of you. Even after reading the Help file, I still don't quite understand the code.
Would you mind terribly, if I asked you to explain in layman's language what each of the RE codes mean?
I know the ^ by itself means Start of Line, and that the \n is the line return, but ...
Would you mind terribly, if I asked you to explain in layman's language what each of the RE codes mean?
I know the ^ by itself means Start of Line, and that the \n is the line return, but ...
- Sat Apr 14, 2007 1:39 pm
- Forum: General
- Topic: Regular Expressions for Find/Replace
- Replies: 8
- Views: 1949
Regular Expressions for Find/Replace
I have the following text:
-110353,103080,This is a test,This is a test of more text\n
More test with numbers 9090909\n
520-393-2700\n
-110353,103080,This is a test,This is a test of more text\n
More test with numbers 9090909\n
520-393-2700\n
-110353,103080,This is a test,This is a test of more text ...
-110353,103080,This is a test,This is a test of more text\n
More test with numbers 9090909\n
520-393-2700\n
-110353,103080,This is a test,This is a test of more text\n
More test with numbers 9090909\n
520-393-2700\n
-110353,103080,This is a test,This is a test of more text ...