# Extract some lines from text file?

**URL:** https://www.finalbuilder.com/forums/t/extract-some-lines-from-text-file/880
**Category:** Discussion
**Created:** [June 20, 2008, 2:37am UTC](https://www.finalbuilder.com/forums/t/extract-some-lines-from-text-file/880 "2008-06-20T02:37:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 20, 2008, 2:37am UTC](https://www.finalbuilder.com/forums/t/extract-some-lines-from-text-file/880/1 "2008-06-20T02:37:11Z")

</div>

Hi,

i have a text file with changelogs of some versions and i want to extract the lines belonging to the latest version.

The file looks like:

----------------

version 1.0.0.1

[some features, some lines]

version 1.0.0.0

[some features, some lines]

---------------

How can i extract the lines from "version 1.0.0.1" til the line before "version 1.0.0.0"?

Thanks for your help!
