Hi Fou-Lu,
Thanks that works great the regex finds the brackets and enclosed word poll and number. The only issue after checking the page source, the blog-poll.php?pollid=$1 is empty for the poll ID. How does $1 variable get its value from $p?
The above any way is a great help, nice assignment of regex to the variable