> try
> query1 = "regexp_replace(lower(us2006_2010.title),
> '(<i>|</i>|<sup>|</sup>|[^[:alnum:]_])', '', 'g') =
> regexp_replace(lower($a$%s$a$), '(<i>|</i>|<sup>|</sup>|
> [^[:alnum:]_])', '',
> 'g')" % some_string
>
>
> Thanks DenesL and Harry. I forgot about the raw string option and did not
know about the $a$ option.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord! His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
2 Pet. 1:2b,3a