Can anyone direct me to a good tutorial on the regex? The script I wrote looks for a string of words in a text string. Ex: Looking for "OPEN PROXY" in a text string returned in a pubm message to the channel.
I delt with it by using the list, and checking speicific occurances for each word. I know that the regex(hopefully I got that right) can be used. So, I'd like to read up on it if anyone could send me in the right direction.
Thanks.
I tried to use string match like this: [string match *OPEN PROXY*]
for some reason, it didnt work. Hmmmmm, I was getting syntex error's in that sentence at the time and just removed that sentence and changed how I did it.
So, the string match will reconiethe white spaces???
first.. you don't have the string in which the matching shall take place in that string-match
second, if you are matching with white-spaces you either need to add a ? for every whitespace, or you can just put "'s around it
I didnt have the "" around it. That's why it didnt work. Thank you very much. Think I posted that reply last night around 3am and wasnt with it. when I origionaly tried that I had the variable specified but I didn't have the "" around the full string I was trying to match. Thank you.