human
Using Regular Expressions to extract specific urls in python
assistant
Here is some code to match urls whose domain doesn't start with `t` from string `document` using regex

re.findall('http://[^t][^s"]+\\.html', document)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.