I code tcl scripts for eggdrops on IRC.
The thing is I am quite good with tcl scripting such as string matching and most of the list, string functions and I see pre-written scripts and get ideas from them.
I am having troubles with regexp, regular expressions and regsub complex matching. I don't really know how to use regexp to match certain types of patterns. Could anyone give me examples or tutorials on how to match regular expressions such as specific numbers, words, letters in a pattern with a text or all numbers/words in a text while using wildcards as well.