I am doing the following:
'm:max'.lstrip('m:')
'ax'
What I need to get is remove the "m:"
only. I have a lot of other combinations, which I am using to filter search results -- for example"g:Holiday
would search a particular category for "Holiday".
Also, sometimes there is no prefix, which would mean it would search all categories.
How would I do this?