Code:
for orf in [mydna[start.start():end.start()+3] for start in re.finditer('(?=ATG)',mydna
for end in re.finditer('(?=TAA|TAG|TGA)',mydna if end.start()>start.start() and (end.end()-start.start())%3 == 0]:
#print orf
for orf in [mydna[start.start():end.start()+3] for start in re.finditer('(?=ATG)',mydna
for end in re.finditer('(?=TAA|TAG|TGA)',mydna if end.start()>start.start() and (end.end()-start.start())%3 == 0]:
#print orf
<a href="http://abc.com/xxxx">Dodge</a> <a href="http://abc.com/a123.php">Used [B]BMW[/B] card</a> <a href="http://xyz.com/ferrari">Brand new Ferraris</a> <a href="http://xyz.com/vjklj"><img src="pic.jpg"
mysql_query("SELECT * FROM REGXP 'some regular expression'"
function make_clickable_urls($text) {
$text = preg_replace("/(?<!<a href=\")((http|ftp)+(s)?:\/\/[^<>\s]+)/i", "<a href=\"\\0\" target=\"_blank\">\\0</a>", $text );
$text = eregi_replace('([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&//=]+)',