abrir txt y seleccionar ciertas filas
Publicado por Fernando (3 intervenciones) el 06/03/2012 02:00:09
Hola a todos tengo el siguiente inconveniente, necesito escoger solamente las filas con numeros del siguiente archivo:
<!-- $Id: display_synopsc.php 1348 2010-03-29 11:18:53Z gbv $ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Display synops by contries</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Author" content="G. Ballester">
<meta name="GENERATOR" content="Quanta Plus">
<meta name="keywords" content="meteorologÃa, temperatura, punto de rocÃo, sensación térmica,
Ãndice de calor, humedad relativa, precipitación, viento, mensajes synop, metar, taf">
<style type="text/css">
body, td, th, select, input, b, p{
font-family: verdana, sans-serif;
font-size: 12px;
}
</style>
</head>
<body>
<pre>
################################################################################
# Consulta realizada a 01/03/2011 02:01:37 UTC
# Estado Argentina*
# Periodo: desde 28/02/2011 17:30 a 28/02/2011 18:30 UTC
################################################################################
################################################################################
# SYNOPS de 87007, La Quiaca Observatorio (Argentina) | 22-06S | 065-36W | 3462 m
################################################################################
201102281800 AAXX 28183 87007 32565 43202 10174 20023 36733 47132 57016 84100 333 56700 84820=
################################################################################
# SYNOPS de 87022, Tartagal Aerodrome (Argentina) | 22-39S | 063-49W | 450 m
###############################################################################
201102281800 AAXX 28184 87022 32560 11806 10279 20171 39604 40100 57023 81100 333 56400 81830=
################################################################################
# SYNOPS de 87046, Jujuy Aerodrome (Argentina) | 24-23S | 065-05W | 921 m
################################################################################
201102281800 AAXX 28184 87046 32565 51404 10263 20168 39114 48509 57024 83106 333 56009 83830 83270=
y sigue rrepitiendo
necesitaria solo los las filas con los numeros y no me importaria perder los que estan recuadrados.
muchas gracias
<!-- $Id: display_synopsc.php 1348 2010-03-29 11:18:53Z gbv $ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Display synops by contries</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Author" content="G. Ballester">
<meta name="GENERATOR" content="Quanta Plus">
<meta name="keywords" content="meteorologÃa, temperatura, punto de rocÃo, sensación térmica,
Ãndice de calor, humedad relativa, precipitación, viento, mensajes synop, metar, taf">
<style type="text/css">
body, td, th, select, input, b, p{
font-family: verdana, sans-serif;
font-size: 12px;
}
</style>
</head>
<body>
<pre>
################################################################################
# Consulta realizada a 01/03/2011 02:01:37 UTC
# Estado Argentina*
# Periodo: desde 28/02/2011 17:30 a 28/02/2011 18:30 UTC
################################################################################
################################################################################
# SYNOPS de 87007, La Quiaca Observatorio (Argentina) | 22-06S | 065-36W | 3462 m
################################################################################
201102281800 AAXX 28183 87007 32565 43202 10174 20023 36733 47132 57016 84100 333 56700 84820=
################################################################################
# SYNOPS de 87022, Tartagal Aerodrome (Argentina) | 22-39S | 063-49W | 450 m
###############################################################################
201102281800 AAXX 28184 87022 32560 11806 10279 20171 39604 40100 57023 81100 333 56400 81830=
################################################################################
# SYNOPS de 87046, Jujuy Aerodrome (Argentina) | 24-23S | 065-05W | 921 m
################################################################################
201102281800 AAXX 28184 87046 32565 51404 10263 20168 39114 48509 57024 83106 333 56009 83830 83270=
y sigue rrepitiendo
necesitaria solo los las filas con los numeros y no me importaria perder los que estan recuadrados.
muchas gracias
Valora esta pregunta


0