Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How to get nth line text from a given text with Regexp

$
0
0

Hi all,

How to get nth line text from a given text with Regexp. For example, i have a text from a window which contains 15 lines.

And i need to get the text from 5th line (it may vary). How to do it. I have tried some patters like "(^ &)\5" and "[^ $]{5}". But didn't work.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>