(lisp-comment "(setq a 3) ;we set a variable"))
would return
("(setq a 3)" ";we set a variable"))
At first it seems like you only have to look for the last semicolon and break from there but it is more complicated than that because a semicolon can be inside a string as well as being followed by quoted words. I'm having difficulty determining what the proper rule for finding the right semicolon is. Is there a regex that will do this?