ahmad_abdulghany
Advanced Member level 4

- Joined
- Apr 12, 2005
- Messages
- 1,206
- Helped
- 102
- Reputation
- 206
- Reaction score
- 22
- Trophy points
- 1,318
- Location
- San Jose, California, USA
- Activity points
- 11,769
I have a file that contains plain text.
In some lines (a lot of them), there're numbers having the format: AA:BB:CC,DDD (e.g. 01:32:53,453).
I want to run any script on that text file such that all numbers in the format above are been converted to: AA:BB:CC+6,DDD (i.e. the CC number increased by 6).
Can anybody show me how to do it? I'm not a prefect programmer, and I want it little urgently.
If it could be done using Matlab, that will be nice, however, other options are all appreciated.
Thanks a lot in advance,
Ahmad,
In some lines (a lot of them), there're numbers having the format: AA:BB:CC,DDD (e.g. 01:32:53,453).
I want to run any script on that text file such that all numbers in the format above are been converted to: AA:BB:CC+6,DDD (i.e. the CC number increased by 6).
Can anybody show me how to do it? I'm not a prefect programmer, and I want it little urgently.
If it could be done using Matlab, that will be nice, however, other options are all appreciated.
Thanks a lot in advance,
Ahmad,