Avatar billede ttopholm Nybegynder
27. oktober 2003 - 08:36 Der er 2 kommentarer og
1 løsning

Slette flere linier i en streng

Jeg har en streng med en masse tekst i. hvor jeg gerne vil have slettet nogle linier, som indeholder bestemte ord. feks. Det her

<P>This worm spreads through e-mails, KaZaa, IRC and shared network drives.</P>
<P><B>Installation:</B><BR>After its launching the worm copies itself with
randomly generated filename to Windows directory and registers itself in Run key
in windows registry. The worm modify following windows registry keys which
enables worms launching every time some file with these extensions is
executed:<BR>HKLM\Software\CLASSES\exefile\shell\open\command<BR>HKLM\Software\CLASSES\scrfile\shell\open\command<BR>HKLM\Software\CLASSES\scrfile\shell\config\command<BR>HKLM\Software\CLASSES\comfile\shell\open\command<BR>HKLM\Software\CLASSES\batfile\shell\open\command<BR>HKLM\Software\CLASSES\piffile\shell\open\command<BR>HKLM\Software\CLASSES\regfile\shell\open\command</P>
<P><B>Spreading: e-mail</B><BR>The worm fakes sender address which its generate
from a few words. Recipient adresses are taken from Outlook Address Book.
Attachment name could have <FONT color=red><I>.EXE</I></FONT> or <FONT
color=red><I>.ZIP</I></FONT> extension with randomly generated name.</P>
<P>Message text is mostly as following:<BR><FONT color=red><I>Microsoft
Customer</P>

Også vil jeg gerne have linierne(ordene) slettet inkl. Html kode:

<BR>After its launching the worm copies itself with
randomly generated filename to Windows directory and registers itself in Run key
in windows registry. The worm modify following windows registry keys which
enables worms launching every time some file with these extensions is
executed:<BR>HKLM\Software\CLASSES\exefile\shell\open\command<BR>HKLM\Software\CLASSES\scrfile\shell\open\command<BR>HKLM\Software\CLASSES\scrfile\shell\config\command<BR>HKLM\Software\CLASSES\comfile\shell\open\command<BR>HKLM\Software\CLASSES\batfile\shell\open\command<BR>HKLM\Software\CLASSES\piffile\shell\open\command<BR>HKLM\Software\CLASSES\regfile\shell\open\command</P>
<P><B>Spreading: e-mail</B><BR>The worm fakes sender address which its generate
from a few words. Recipient adresses are taken from Outlook Address Book.
Avatar billede kovalt Nybegynder
27. oktober 2003 - 12:19 #1
er det der skal slettes alle html-tagsne?

/Kovalt
Avatar billede ttopholm Nybegynder
28. oktober 2003 - 06:14 #2
Det er det her der skal slettes:

<BR>After its launching the worm copies itself with
randomly generated filename to Windows directory and registers itself in Run key
in windows registry. The worm modify following windows registry keys which
enables worms launching every time some file with these extensions is
executed:<BR>HKLM\Software\CLASSES\exefile\shell\open\command<BR>HKLM\Software\CLASSES\scrfile\shell\open\command<BR>HKLM\Software\CLASSES\scrfile\shell\config\command<BR>HKLM\Software\CLASSES\comfile\shell\open\command<BR>HKLM\Software\CLASSES\batfile\shell\open\command<BR>HKLM\Software\CLASSES\piffile\shell\open\command<BR>HKLM\Software\CLASSES\regfile\shell\open\command</P>
<P><B>Spreading: e-mail</B><BR>The worm fakes sender address which its generate
from a few words. Recipient adresses are taken from Outlook Address Book.

Alt det ovenstående, det her er jo bare et eksempel :-)
Avatar billede ttopholm Nybegynder
10. marts 2005 - 10:42 #3
Lukker og slukker
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester