I have a file with strings similar to this:

```
abcd u'current_count': u'2', u'total_count': u'3', u'order_id': u'90'

```

I have to find current\_count and total\_count for each line of file. I am trying below command but its not working. Please help.

```
grep current_count file | sed "s/.*\('current_count': u'\d+'\).*/\1/"

```

It is outputting the whole line but I want something like this:

```
'current_count': u'3', 'total_count': u'3'

```