Deutsch   English   Français   Italiano  
<AABnVJ4ChAMAADSd.A3.flnews@yamo.pasdenom.info>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!pasdenom.info!.POSTED.2a01:e0a:21:ea80:40eb:d344:3898:1b06!not-for-mail
From: yamo' <news@pasdenom.info>
Newsgroups: fr.comp.lang.regexp
Subject: Regex qui supprime tout le reste de la ligne
 =?ISO-8859-1?Q?apr=E8s?= le premier espace
Date: Sat, 7 Dec 2024 20:12:02 +0100
Organization: <http://pasdenom.info/news.html>
Message-ID: <AABnVJ4ChAMAADSd.A3.flnews@yamo.pasdenom.info>
Reply-To: yamo' <yamo@groumpf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 7 Dec 2024 19:12:02 -0000
Injection-Info: rasp.pasdenom.info; posting-account="stephane@usenet"; posting-host="2a01:e0a:21:ea80:40eb:d344:3898:1b06";
	logging-data="3414"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: flnews/1.3.0pre21 (for GNU/Linux)
Cancel-Lock: sha1:GXzHyYe1EUIgqFakyoJTUmMseDw= sha256:IWHE4k542Raj3FQlad0a+wLrSMIpn4cHIOVYbUaWNI0=
	sha1:ZAsupfev430XtNUJhMfJrNlijjw= sha256:GJxInVyG0XGuvFV3ujRoBxoLOFP6e+Vw8S96FUMAOvg=
	sha1:ewdJd5xZZR4bSnX4OC1eV2po7Eo= sha256:pl9Fk/BpXDl4GWjhI9r3iDhq4YPMeF2gqiUj1nJJs+0=
Bytes: 1680
Lines: 23

Salut,

Je suis nul en regex et j'ai besoin d'une regex qui supprime tout
 le reste d'une ligne apr�s le premier espace
 sauf si la ligne commence par ':' :

En entr�e :

:fr.* (hi�rarchie francophone)
fr.bienvenue  Aide aux nouveaux venus dans leurs premiers pas sur Usenet.
fr.bio.medecine  Discussions sur la m�decine.

En sortie :

:fr.* (hi�rarchie francophone)
fr.bienvenue
fr.bio.medecine

Pr�cision, il n'y a pas de lignes vides.

Merci d'avance!

-- 
St�phane