I have a string like:
hello #this# is #some text string# text text
I want change it to:
hello <sometag>this</sometag> is <sometag>some text string</sometag> text text
That is, replace the first # with an HTML tag and the second # with the closing tag, and so on. I am using Python; any body knows any regular expression or something other method?