I am new to Beautifulsoup 4 and found it really convenient! However, I got the problem when I need to split the string:

An example here:

I have a link which is 

```
 <a href="http://nihao-wobuhao?%93%23%24%12&sort=102">NIHAO</a>

```

I get the line with `soap.findChildren('a')`, but what if I just need the part 'sort=102'? 

I tried to use `soap.find_all(re.compile(^sort=.*?))`but it does not work, can anyone help me with that? Thanks in advance!