I think regex should do the trick