thanks for the reply schaefer31,sorry
%t2 was a typo on my part when posting the thread.
2. You're using ! which means it will match anything that does NOT follow either format.
ah ok my bad, you did a script for me
HERE and from your pm explaing the script,it says it wont return any thing in the list
if (!$regex($4,%noshow) && !$regex($2,%noshow)) {
The ! prefix means to match anything except those in the list.
maybe iv miss understood your explaintion?
3. You specified $1- and also imply an exact match. Logic leads me to believe the line you're comparing against the pattern probably contains other text (I don't know anyone that would outright send "[12:34:56a EST]" as a chat message to a channel ), and thus your pattern is never going to match.
yep yep its almost at the end of the line of txt,there is a few more words before it gets to [12:34:56a EST](its never in the same place in the line of txt but always present).
I thought as its the only thing that is always present,I could get regex to lock onto it and stop it from showing up,maybe i miss understand your explainations or am i just way off base :tongue: ?
I'v done pretty well with changing it and adding things to it etc (with a few snags that this board was able to help with) but maybe I have just been lucky
.
thanks again for the reply schaefer i'll keep at it
/me goes back to read some more