[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux] problem avec regexp



Le samedi 02 février 2002, 21:03:18, Pablo Saratxaga, pris d'une clavièrite aigüe, écrivait:
Salut Pablo, comment va? Cela fait un bail ;-)
 
 aa<TAG>bbbb</TAG>dddd<TAG>eeee<B>ffff</B>gggg</TAG>hhhh
sed -e s/\<TAG\>[a-zA-Z0-9]*//g -e s/\<\\/TAG\>//g
-> aadddd<B>ffff</B>hhhh

Je ne sais pas si c'est ce qu'il te faut?

Dany

-- 
      /-----------------------------------------------------------------\
      |   -°)   Mon processus est entamé. Le procès suce.         (°-   |
      |   /\\                                                     //\   |
      |  _\_v                                                     v_/_  |
      |                                -- San Antonio --                |
      \-----------------------------------------------------------------/
_______________________________________________
Linux Mailing List
Archives: http://unixtech.be/mailman/listinfo/linux