How to merge groups of 10+ lines into 1 line repeatedly, in the same file
I am having .txt file like below mentioned,
39063960
Li D/C11 r..31/181,,-350505 Stra.ugh
I.
Collins
29052 Humi Street Center I Hillsdale Dr
Mineral Point 53565 Tuesday, 07/13/1965
Cynthi 1 umfOrd Pi rk.ski (Sgm)
Non ri nng
Atttached Si ngle -unii t
95279148100-0805
Debt
con. di a, on MAI Ad.enes 11440300
347 3.62
107413.54
Secured Laon 1353410.568 4E11388.6
LANCASTER POLLARD MORTGAGE COM rimbi rt
fames
zi ngeser
U T. R. No.ARSWf34/7U1-49899
N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk -
Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank
Of America Good
39063965
L iD/C11 r ._31#81_14-113096 muhlbauer
0..11 ina (Sma
31299 Tiaani 91 iy Pry Rd. Grosvenor
Place
Naval Supply Center 92132 Tuesday. 07/221975
631 ly fi el d
j. car Ishaf fi r Moor rni n
Attached
Mul t i - unit 95279148100-0828
Debt consolidation FHLE
Advacen
4400000
420 4.48 42240 Secured
Loan 532224 1971200
OPPENHEIMER MULTIFAMILY HAG
o bani on
bruce foreman
ii.T.R . No AvsTb3 n74/3msds6,- 57817
M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes
CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961
L iD/CTI r
351117 yvi nStead
it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y
Court Grand Rapids 49508 Thursdajy, 01/22/1959
pesternak
b. n black
Evnini ng
SEMI
DETACHED
95279148100-0812
Debt consol i da i . n
Fanni ie Mae Mortgage
13567000
216
4.49
253815.96
Secured Loan 3198081.075 6091583
MBANK NATINONAL ASSOCIATE*
Passaro
Neese
D Enright
U.T.R.No.REXfun02/hg53_213hR- 67973
N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 ,
Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE
REAL ESTATE CAPITA Master Card Good
39063966
OD/C-11r ._31.81,-117080 LADBETTER
BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt
wi 11 au ra estates 95945 Tuesday. 07/20/1943
liti chevsky Costello (csm)
Afttnernnon
Manable dwellings 95279148100-0030
Debt
consoli dation Fenn i e Mea Mortagege
1643400
476
3.88 12056.2
Secured boon 151308 . 1624.
637639.2
PRI4t.iDENTAL HD01003 PAIGE ASSOC
Ter.ce
Raymond Bossem
U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F-
y7-61.293
Dorec tor
Yes
NEW MEXICO t41G FIN
AUTHORITY
Bank Of America
Good
I want these separate lines to be merged with a single line like below,
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
notepad++
add a comment |
I am having .txt file like below mentioned,
39063960
Li D/C11 r..31/181,,-350505 Stra.ugh
I.
Collins
29052 Humi Street Center I Hillsdale Dr
Mineral Point 53565 Tuesday, 07/13/1965
Cynthi 1 umfOrd Pi rk.ski (Sgm)
Non ri nng
Atttached Si ngle -unii t
95279148100-0805
Debt
con. di a, on MAI Ad.enes 11440300
347 3.62
107413.54
Secured Laon 1353410.568 4E11388.6
LANCASTER POLLARD MORTGAGE COM rimbi rt
fames
zi ngeser
U T. R. No.ARSWf34/7U1-49899
N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk -
Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank
Of America Good
39063965
L iD/C11 r ._31#81_14-113096 muhlbauer
0..11 ina (Sma
31299 Tiaani 91 iy Pry Rd. Grosvenor
Place
Naval Supply Center 92132 Tuesday. 07/221975
631 ly fi el d
j. car Ishaf fi r Moor rni n
Attached
Mul t i - unit 95279148100-0828
Debt consolidation FHLE
Advacen
4400000
420 4.48 42240 Secured
Loan 532224 1971200
OPPENHEIMER MULTIFAMILY HAG
o bani on
bruce foreman
ii.T.R . No AvsTb3 n74/3msds6,- 57817
M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes
CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961
L iD/CTI r
351117 yvi nStead
it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y
Court Grand Rapids 49508 Thursdajy, 01/22/1959
pesternak
b. n black
Evnini ng
SEMI
DETACHED
95279148100-0812
Debt consol i da i . n
Fanni ie Mae Mortgage
13567000
216
4.49
253815.96
Secured Loan 3198081.075 6091583
MBANK NATINONAL ASSOCIATE*
Passaro
Neese
D Enright
U.T.R.No.REXfun02/hg53_213hR- 67973
N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 ,
Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE
REAL ESTATE CAPITA Master Card Good
39063966
OD/C-11r ._31.81,-117080 LADBETTER
BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt
wi 11 au ra estates 95945 Tuesday. 07/20/1943
liti chevsky Costello (csm)
Afttnernnon
Manable dwellings 95279148100-0030
Debt
consoli dation Fenn i e Mea Mortagege
1643400
476
3.88 12056.2
Secured boon 151308 . 1624.
637639.2
PRI4t.iDENTAL HD01003 PAIGE ASSOC
Ter.ce
Raymond Bossem
U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F-
y7-61.293
Dorec tor
Yes
NEW MEXICO t41G FIN
AUTHORITY
Bank Of America
Good
I want these separate lines to be merged with a single line like below,
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
notepad++
Unless this is something that you will do regularly, it will be quicker to do it manually if you only need to do it once.
– Mawg
Jan 4 at 7:33
Have you sufficiently anonimysed your data? I (sort of) see names, date of births, credit card and load/mortgage data, etc.
– agtoever
Jan 4 at 7:39
add a comment |
I am having .txt file like below mentioned,
39063960
Li D/C11 r..31/181,,-350505 Stra.ugh
I.
Collins
29052 Humi Street Center I Hillsdale Dr
Mineral Point 53565 Tuesday, 07/13/1965
Cynthi 1 umfOrd Pi rk.ski (Sgm)
Non ri nng
Atttached Si ngle -unii t
95279148100-0805
Debt
con. di a, on MAI Ad.enes 11440300
347 3.62
107413.54
Secured Laon 1353410.568 4E11388.6
LANCASTER POLLARD MORTGAGE COM rimbi rt
fames
zi ngeser
U T. R. No.ARSWf34/7U1-49899
N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk -
Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank
Of America Good
39063965
L iD/C11 r ._31#81_14-113096 muhlbauer
0..11 ina (Sma
31299 Tiaani 91 iy Pry Rd. Grosvenor
Place
Naval Supply Center 92132 Tuesday. 07/221975
631 ly fi el d
j. car Ishaf fi r Moor rni n
Attached
Mul t i - unit 95279148100-0828
Debt consolidation FHLE
Advacen
4400000
420 4.48 42240 Secured
Loan 532224 1971200
OPPENHEIMER MULTIFAMILY HAG
o bani on
bruce foreman
ii.T.R . No AvsTb3 n74/3msds6,- 57817
M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes
CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961
L iD/CTI r
351117 yvi nStead
it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y
Court Grand Rapids 49508 Thursdajy, 01/22/1959
pesternak
b. n black
Evnini ng
SEMI
DETACHED
95279148100-0812
Debt consol i da i . n
Fanni ie Mae Mortgage
13567000
216
4.49
253815.96
Secured Loan 3198081.075 6091583
MBANK NATINONAL ASSOCIATE*
Passaro
Neese
D Enright
U.T.R.No.REXfun02/hg53_213hR- 67973
N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 ,
Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE
REAL ESTATE CAPITA Master Card Good
39063966
OD/C-11r ._31.81,-117080 LADBETTER
BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt
wi 11 au ra estates 95945 Tuesday. 07/20/1943
liti chevsky Costello (csm)
Afttnernnon
Manable dwellings 95279148100-0030
Debt
consoli dation Fenn i e Mea Mortagege
1643400
476
3.88 12056.2
Secured boon 151308 . 1624.
637639.2
PRI4t.iDENTAL HD01003 PAIGE ASSOC
Ter.ce
Raymond Bossem
U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F-
y7-61.293
Dorec tor
Yes
NEW MEXICO t41G FIN
AUTHORITY
Bank Of America
Good
I want these separate lines to be merged with a single line like below,
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
notepad++
I am having .txt file like below mentioned,
39063960
Li D/C11 r..31/181,,-350505 Stra.ugh
I.
Collins
29052 Humi Street Center I Hillsdale Dr
Mineral Point 53565 Tuesday, 07/13/1965
Cynthi 1 umfOrd Pi rk.ski (Sgm)
Non ri nng
Atttached Si ngle -unii t
95279148100-0805
Debt
con. di a, on MAI Ad.enes 11440300
347 3.62
107413.54
Secured Laon 1353410.568 4E11388.6
LANCASTER POLLARD MORTGAGE COM rimbi rt
fames
zi ngeser
U T. R. No.ARSWf34/7U1-49899
N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk -
Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank
Of America Good
39063965
L iD/C11 r ._31#81_14-113096 muhlbauer
0..11 ina (Sma
31299 Tiaani 91 iy Pry Rd. Grosvenor
Place
Naval Supply Center 92132 Tuesday. 07/221975
631 ly fi el d
j. car Ishaf fi r Moor rni n
Attached
Mul t i - unit 95279148100-0828
Debt consolidation FHLE
Advacen
4400000
420 4.48 42240 Secured
Loan 532224 1971200
OPPENHEIMER MULTIFAMILY HAG
o bani on
bruce foreman
ii.T.R . No AvsTb3 n74/3msds6,- 57817
M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes
CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961
L iD/CTI r
351117 yvi nStead
it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y
Court Grand Rapids 49508 Thursdajy, 01/22/1959
pesternak
b. n black
Evnini ng
SEMI
DETACHED
95279148100-0812
Debt consol i da i . n
Fanni ie Mae Mortgage
13567000
216
4.49
253815.96
Secured Loan 3198081.075 6091583
MBANK NATINONAL ASSOCIATE*
Passaro
Neese
D Enright
U.T.R.No.REXfun02/hg53_213hR- 67973
N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 ,
Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE
REAL ESTATE CAPITA Master Card Good
39063966
OD/C-11r ._31.81,-117080 LADBETTER
BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt
wi 11 au ra estates 95945 Tuesday. 07/20/1943
liti chevsky Costello (csm)
Afttnernnon
Manable dwellings 95279148100-0030
Debt
consoli dation Fenn i e Mea Mortagege
1643400
476
3.88 12056.2
Secured boon 151308 . 1624.
637639.2
PRI4t.iDENTAL HD01003 PAIGE ASSOC
Ter.ce
Raymond Bossem
U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F-
y7-61.293
Dorec tor
Yes
NEW MEXICO t41G FIN
AUTHORITY
Bank Of America
Good
I want these separate lines to be merged with a single line like below,
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
notepad++
notepad++
edited Jan 4 at 11:57
Mawg
1,47453051
1,47453051
asked Jan 4 at 4:55
AnandAnand
1
1
Unless this is something that you will do regularly, it will be quicker to do it manually if you only need to do it once.
– Mawg
Jan 4 at 7:33
Have you sufficiently anonimysed your data? I (sort of) see names, date of births, credit card and load/mortgage data, etc.
– agtoever
Jan 4 at 7:39
add a comment |
Unless this is something that you will do regularly, it will be quicker to do it manually if you only need to do it once.
– Mawg
Jan 4 at 7:33
Have you sufficiently anonimysed your data? I (sort of) see names, date of births, credit card and load/mortgage data, etc.
– agtoever
Jan 4 at 7:39
Unless this is something that you will do regularly, it will be quicker to do it manually if you only need to do it once.
– Mawg
Jan 4 at 7:33
Unless this is something that you will do regularly, it will be quicker to do it manually if you only need to do it once.
– Mawg
Jan 4 at 7:33
Have you sufficiently anonimysed your data? I (sort of) see names, date of births, credit card and load/mortgage data, etc.
– agtoever
Jan 4 at 7:39
Have you sufficiently anonimysed your data? I (sort of) see names, date of births, credit card and load/mortgage data, etc.
– agtoever
Jan 4 at 7:39
add a comment |
2 Answers
2
active
oldest
votes
- open the file in Notepad++
- hit Ctrl+H or menu item Search/Replace
- in "search mode" at the bottom left, tick "Extended"
- in "Find what" enter
rand leave "Replace with" blank - click "Replace all"
That should do it. Note that in step 4,r works on Windows. If you have any problems, try various combinations of r and n e.g rn. Just type the two characters and r for r - it's not any special key combination in this case.
What this is doing is replacing the "end of line" Character(s) by nothing, to make one big line.
Different operating systems have different line endings , although really only Windows and Linux are popular nowadays.
Please let us know if this works, as it will help others in future.
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
1
This is not my question.
– Toto
Jan 4 at 11:23
1
I am not OP.
– Toto
Jan 4 at 11:40
1
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like39063960until the next similar line.
– Toto
Jan 4 at 12:45
|
show 3 more comments
Ctrl+H
- Find what:
R(?!390d{5}h*$)
- Replace with:
t# or whatever spaces you want - check Wrap around
- check Regular expression
- Replace all
Explanation:
R # any kind of linebreak (ie. r, n, rn)
(?! # start negative lookahead, zero length assertion that make sure we haven't after
390 # 390
d{5} # 5 digits
h* # 0 or more horizontal spaces
$ # end of line
) # end lookahead
Replacement:
t # a tabulation, you may replace with what you want
Result for given example:
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390374%2fhow-to-merge-groups-of-10-lines-into-1-line-repeatedly-in-the-same-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
- open the file in Notepad++
- hit Ctrl+H or menu item Search/Replace
- in "search mode" at the bottom left, tick "Extended"
- in "Find what" enter
rand leave "Replace with" blank - click "Replace all"
That should do it. Note that in step 4,r works on Windows. If you have any problems, try various combinations of r and n e.g rn. Just type the two characters and r for r - it's not any special key combination in this case.
What this is doing is replacing the "end of line" Character(s) by nothing, to make one big line.
Different operating systems have different line endings , although really only Windows and Linux are popular nowadays.
Please let us know if this works, as it will help others in future.
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
1
This is not my question.
– Toto
Jan 4 at 11:23
1
I am not OP.
– Toto
Jan 4 at 11:40
1
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like39063960until the next similar line.
– Toto
Jan 4 at 12:45
|
show 3 more comments
- open the file in Notepad++
- hit Ctrl+H or menu item Search/Replace
- in "search mode" at the bottom left, tick "Extended"
- in "Find what" enter
rand leave "Replace with" blank - click "Replace all"
That should do it. Note that in step 4,r works on Windows. If you have any problems, try various combinations of r and n e.g rn. Just type the two characters and r for r - it's not any special key combination in this case.
What this is doing is replacing the "end of line" Character(s) by nothing, to make one big line.
Different operating systems have different line endings , although really only Windows and Linux are popular nowadays.
Please let us know if this works, as it will help others in future.
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
1
This is not my question.
– Toto
Jan 4 at 11:23
1
I am not OP.
– Toto
Jan 4 at 11:40
1
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like39063960until the next similar line.
– Toto
Jan 4 at 12:45
|
show 3 more comments
- open the file in Notepad++
- hit Ctrl+H or menu item Search/Replace
- in "search mode" at the bottom left, tick "Extended"
- in "Find what" enter
rand leave "Replace with" blank - click "Replace all"
That should do it. Note that in step 4,r works on Windows. If you have any problems, try various combinations of r and n e.g rn. Just type the two characters and r for r - it's not any special key combination in this case.
What this is doing is replacing the "end of line" Character(s) by nothing, to make one big line.
Different operating systems have different line endings , although really only Windows and Linux are popular nowadays.
Please let us know if this works, as it will help others in future.
- open the file in Notepad++
- hit Ctrl+H or menu item Search/Replace
- in "search mode" at the bottom left, tick "Extended"
- in "Find what" enter
rand leave "Replace with" blank - click "Replace all"
That should do it. Note that in step 4,r works on Windows. If you have any problems, try various combinations of r and n e.g rn. Just type the two characters and r for r - it's not any special key combination in this case.
What this is doing is replacing the "end of line" Character(s) by nothing, to make one big line.
Different operating systems have different line endings , although really only Windows and Linux are popular nowadays.
Please let us know if this works, as it will help others in future.
answered Jan 4 at 7:37
MawgMawg
1,47453051
1,47453051
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
1
This is not my question.
– Toto
Jan 4 at 11:23
1
I am not OP.
– Toto
Jan 4 at 11:40
1
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like39063960until the next similar line.
– Toto
Jan 4 at 12:45
|
show 3 more comments
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
1
This is not my question.
– Toto
Jan 4 at 11:23
1
I am not OP.
– Toto
Jan 4 at 11:40
1
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like39063960until the next similar line.
– Toto
Jan 4 at 12:45
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
They don't want a single line. They want to merge only some of them.
– Toto
Jan 4 at 10:34
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
I see. I didn't quite understand that from the question's title, so I edited it; I hope that you don't mind. So, what is the separator? A blank line? Something else? Your title says "10+ lines", so we can't count them. How do we know when it's the end of a "section" which should be combined into a single line? Please don't answer here, but update your question for all to see.
– Mawg
Jan 4 at 11:13
1
1
This is not my question.
– Toto
Jan 4 at 11:23
This is not my question.
– Toto
Jan 4 at 11:23
1
1
I am not OP.
– Toto
Jan 4 at 11:40
I am not OP.
– Toto
Jan 4 at 11:40
1
1
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like
39063960 until the next similar line.– Toto
Jan 4 at 12:45
Looking at expected result, it seems they want to group lines from the ones that begin with some digits like
39063960 until the next similar line.– Toto
Jan 4 at 12:45
|
show 3 more comments
Ctrl+H
- Find what:
R(?!390d{5}h*$)
- Replace with:
t# or whatever spaces you want - check Wrap around
- check Regular expression
- Replace all
Explanation:
R # any kind of linebreak (ie. r, n, rn)
(?! # start negative lookahead, zero length assertion that make sure we haven't after
390 # 390
d{5} # 5 digits
h* # 0 or more horizontal spaces
$ # end of line
) # end lookahead
Replacement:
t # a tabulation, you may replace with what you want
Result for given example:
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
add a comment |
Ctrl+H
- Find what:
R(?!390d{5}h*$)
- Replace with:
t# or whatever spaces you want - check Wrap around
- check Regular expression
- Replace all
Explanation:
R # any kind of linebreak (ie. r, n, rn)
(?! # start negative lookahead, zero length assertion that make sure we haven't after
390 # 390
d{5} # 5 digits
h* # 0 or more horizontal spaces
$ # end of line
) # end lookahead
Replacement:
t # a tabulation, you may replace with what you want
Result for given example:
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
add a comment |
Ctrl+H
- Find what:
R(?!390d{5}h*$)
- Replace with:
t# or whatever spaces you want - check Wrap around
- check Regular expression
- Replace all
Explanation:
R # any kind of linebreak (ie. r, n, rn)
(?! # start negative lookahead, zero length assertion that make sure we haven't after
390 # 390
d{5} # 5 digits
h* # 0 or more horizontal spaces
$ # end of line
) # end lookahead
Replacement:
t # a tabulation, you may replace with what you want
Result for given example:
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
Ctrl+H
- Find what:
R(?!390d{5}h*$)
- Replace with:
t# or whatever spaces you want - check Wrap around
- check Regular expression
- Replace all
Explanation:
R # any kind of linebreak (ie. r, n, rn)
(?! # start negative lookahead, zero length assertion that make sure we haven't after
390 # 390
d{5} # 5 digits
h* # 0 or more horizontal spaces
$ # end of line
) # end lookahead
Replacement:
t # a tabulation, you may replace with what you want
Result for given example:
39063960 Li D/C11 r..31/181,,-350505 Stra.ugh I. Collins 29052 Humi Street Center I Hillsdale Dr Mineral Point 53565 Tuesday, 07/13/1965 Cynthi 1 umfOrd Pi rk.ski (Sgm) Non ri nng Atttached Si ngle -unii t 95279148100-0805 Debt con. di a, on MAI Ad.enes 11440300 347 3.62 107413.54 Secured Laon 1353410.568 4E11388.6 LANCASTER POLLARD MORTGAGE COM rimbi rt fames zi ngeser U T. R. No.ARSWf34/7U1-49899 N. I . N.La_351 g0b84-Dvb67- 281985 Articled Clerk - Legai Assistarrt Yes MISSOURI HOUSING DEV COMM Bank Of America Good
39063965 L iD/C11 r ._31#81_14-113096 muhlbauer 0..11 ina (Sma 31299 Tiaani 91 iy Pry Rd. Grosvenor Place Naval Supply Center 92132 Tuesday. 07/221975 631 ly fi el d j. car Ishaf fi r Moor rni n Attached Mul t i - unit 95279148100-0828 Debt consolidation FHLE Advacen 4400000 420 4.48 42240 Secured Loan 532224 1971200 OPPENHEIMER MULTIFAMILY HAG o bani on bruce foreman ii.T.R . No AvsTb3 n74/3msds6,- 57817 M. I. No it La_35ig01,84-Dvb67- 307478 Graft Mosaic Yes CENTENNIAL MORTGAGE IN APPLGATE Master Card Goon
39063961 L iD/CTI r 351117 yvi nStead it tyi davis (mcpo 818 03th St W 3, 1 Tg St I Pi 6.di 1 1 y Court Grand Rapids 49508 Thursdajy, 01/22/1959 pesternak b. n black Evnini ng SEMI DETACHED 95279148100-0812 Debt consol i da i . n Fanni ie Mae Mortgage 13567000 216 4.49 253815.96 Secured Loan 3198081.075 6091583 MBANK NATINONAL ASSOCIATE* Passaro Neese D Enright U.T.R.No.REXfun02/hg53_213hR- 67973 N I . No4La_3Si g0b84 -D.67-284256 Ca re Ass) 93606 , Home Care Assi sta. ,Home Care Organiser Yes GRADABRIDGE REAL ESTATE CAPITA Master Card Good
39063966 OD/C-11r ._31.81,-117080 LADBETTER BOUDRY 29052 8 Hunri Street Center Ki 1 ton High Way, Apt wi 11 au ra estates 95945 Tuesday. 07/20/1943 liti chevsky Costello (csm) Afttnernnon Manable dwellings 95279148100-0030 Debt consoli dation Fenn i e Mea Mortagege 1643400 476 3.88 12056.2 Secured boon 151308 . 1624. 637639.2 PRI4t.iDENTAL HD01003 PAIGE ASSOC Ter.ce Raymond Bossem U. T. R .No kbYcKni F73_wv57,11414 N.I.NORLA,Sdfd F- y7-61.293 Dorec tor Yes NEW MEXICO t41G FIN AUTHORITY Bank Of America Good
answered Jan 4 at 10:33
TotoToto
3,763101226
3,763101226
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390374%2fhow-to-merge-groups-of-10-lines-into-1-line-repeatedly-in-the-same-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Unless this is something that you will do regularly, it will be quicker to do it manually if you only need to do it once.
– Mawg
Jan 4 at 7:33
Have you sufficiently anonimysed your data? I (sort of) see names, date of births, credit card and load/mortgage data, etc.
– agtoever
Jan 4 at 7:39