- Регистрация
- 25.11.2012
- Сообщения
- 544
- Благодарностей
- 26
- Баллы
- 28
+++Issue resolved+++
I'm scraping urls which have years in them, for example:
www.example-domain.com/2009
www.example-domain.com/2010
www.example-domain.com/2011
www.example-domain.com/2012
www.example-domain.com/2013
So I only need to sort the list based upon a year, i.e. 2011. So anything before 2011 needs to be deleted, and to keep 2011 to 2013.
Is there a simple approach to this?
I'm scraping urls which have years in them, for example:
www.example-domain.com/2009
www.example-domain.com/2010
www.example-domain.com/2011
www.example-domain.com/2012
www.example-domain.com/2013
So I only need to sort the list based upon a year, i.e. 2011. So anything before 2011 needs to be deleted, and to keep 2011 to 2013.
Is there a simple approach to this?