Hey guys, hoping someone can help me figure this out.
I’m doing a read range from a rather messy excel file, in which i need to pick certain rows.
It looks like this(might have to max window to see it properly), each line is a row.
/===========================================================================
| HEROMA S I G N A L L I S T A Sida: 1 |
| DATABAS:TRV_PP01 PERIOD:2019-11 Alla Utskriven: 19-12-05 09:59 |
===========================================================================/
Databas: TRV_PP01 Löneperiod:
PATEAM 1001000a
/*****\
| Personnummer|IDNR |Lart | From - Tom |Felkod| Feltext |
| | | | | | |
*+++++*
| 553445-7193 | 1000| | | 5009 | Komptidsutbetalning via autolart kan ej göras |
| 553445-7193 | 1000| | | 5009 | Kkjsdhfasdkfj jkhsdflkjhasdfh jkhasdfjkhsafsdj |
| 634521-7114 | 1000| | | 5009 | Komptidsutbetalning via autolart kan ej göras |
| 534531-7114 | 1000| | | 5009 | Komptidsutbetalning via autolart kan ej göras |
| 442332-5192 | 1000| | | 5009 | random text yadda |
| 532984-5192 | 1000| | | 5009 | random text yadda |
| 428374-4899 | 1000| | | 5009 | random text yadda |
| 342493-4899 | 1000| | | 5009 | random text random text |
It goes on for thousands of rows ususally. as you see there are tons of spaces and | characters everywehere.
Now, what i want get out should look like this:
342493-4899 1000 5009 whatevertext is here
etc…
Or im ok with just removing the spaces and | characters so it look like this
342493-489910005009whatevertextishere
etc…
i’ve tried to get it to pick it out using the regexbuilder with the replace action, but not succeding.
any ideas on how to build the regex? let me know if i need to clarify it more.
thanks! Tom