Need help with simple regex
Posted: Sun Nov 25, 2007 9:42 am
Hello,
I'm running Unreal3.2.7. I know how to use the /spamfilter commands, but I'm not very familiar with regex.
Could someone please tell me how I could ban a single word (including spaces, underscores, and other characters between the letters)?
For example, if the word I need blocked is "snickers", then the regex would need to detect all these variations:
snickers
s n i c k e r s
s/n/i/c/k/e/r/s
s_n_i_c_k_e_r_s
s_____n__i_-c-___k__e__r----s
s___n___i___c___k___e___r___s
s....n..i......c..k..e...r........s
Any suggestions?
I'm running Unreal3.2.7. I know how to use the /spamfilter commands, but I'm not very familiar with regex.
Could someone please tell me how I could ban a single word (including spaces, underscores, and other characters between the letters)?
For example, if the word I need blocked is "snickers", then the regex would need to detect all these variations:
snickers
s n i c k e r s
s/n/i/c/k/e/r/s
s_n_i_c_k_e_r_s
s_____n__i_-c-___k__e__r----s
s___n___i___c___k___e___r___s
s....n..i......c..k..e...r........s
Any suggestions?