Raised This Month: $ Target: $400
 0% 

Replace blacklisted word unless it's a part of whitelisted word - string


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-08-2014 , 20:27   Re: Replace blacklisted word unless it's a part of whitelisted word - string
Reply With Quote #5

I guess I could keep the whitespace. Anyway, I have very little experience in regex, especially AMXX wise. How do I go about this if I have exactly two arrays, one with blacklisted words and one with whitelisted words?

Also, "shite" really needs to be filtered. I take it as there's no other option than breaking the whole string into words and then comparing them one by one?
Backstabnoob is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode