| View previous topic :: View next topic |
| Author |
Message |
maxoudu328 Voice
Joined: 02 May 2006 Posts: 4
|
Posted: Thu Jun 08, 2006 4:31 am Post subject: Parsing a text file and remove a line |
|
|
Hi,
I do a script for eSport team, ppl management and i add all players avi in a text file, read it isen't hard but i want parse the output of the reading fonction and remove a line from his mask.
Example :
In the text file :
| Code: |
Pseudo_Irc[1] Pseudo_Irc[1]@user.quakenet.org
Pseudo_Irc[2] Pseudo_Irc[2]@user.quakenet.org
Pseudo_Irc[3] Pseudo_Irc[3]@user.quakenet.org
|
i want remove 'Pseudo_Irc[2]' finded by his mask 'Pseudo_Irc[2]@user.quakenet.org' ...
If you can give me an example of that or some links about regex and searching (google hate me for this prob) ...
thx a lot and sorry for my bad english but im french :> |
|
| Back to top |
|
 |
NTHosts Op
Joined: 10 Oct 2005 Posts: 100 Location: UK
|
Posted: Thu Jun 08, 2006 8:25 am Post subject: ... |
|
|
Search the forum, this has been done not long ago  _________________ www.NT-Hosts.Net - More than just a host |
|
| Back to top |
|
 |
|