|The stupid question is the question not asked|
Re: regex help neededby samarzone (Pilgrim)
|on Mar 29, 2011 at 07:57 UTC||Need Help??|
Any idea what I'm missing?
The dot (.) after the first closing bracket is creating problem. Remove it and the asterisk as well.
I was trying to explain the regex but I found it quite difficult for me to write it in simple language. :)
You can try to find out where and why the pattern matched by printing $1 or adding multiple capturing brackets before or after the negative look ahead pattern and then printing the corresponding matches