Hello again anirbanphys,
See the updated version that contains solution to the hard-coded problem. Now the script will pick up the string withing the interesting line.
Hope this helps. Let me know if you can not understand what the code does.
BR / Thanos
In reply to Re^3: How to add a new line after three or four lines from a pattern after getting that pattern
by thanos1983
in thread How to add a new line after three or four lines from a pattern after getting that pattern
by anirbanphys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |