I have a dictionary that looks like :

```
dict={'name':'ed|tom|pete','surname':'abc|def'}

```

How do I convert the keys with the delimeter | into a list ? Something that looks like:

```
dict1={'name':['ed','tom','pete'],'surname':['abc','def']}

```

thanks...