i have 2 text files
"badwords.txt" (400+ words column) and "english-words.txt" (200k words column)
how do i remove the 400 words from the 200k list?
remove bad words
Re: remove bad words
I guess God doesn't like bad words
Edit: There seems to be a bug with GeSHi
Code: Select all
badwords := "
(
badword_1
badword_2
badword_3
)"
file := "
(
the quick badword_3 fox
jumps over the badword_1
dog.
Hello badword_2
)"
Loop, Parse, badwords, `r`n
if InStr(file, A_LoopField)
StringReplace, file, file, % A_LoopField,, All
MsgBox, % file
return
Re: remove bad words
God, can you post the actual files?
Re: remove bad words
can the above Coco's Code be modified to replace (not remove) bad words (as requested by God)?
Who is online
Users browsing this forum: Bing [Bot], bobstoner289, Chunjee, macromint, peter_ahk and 321 guests