Holy God! I think you've just managed to create the most complex regex ever used to complete such a simple task!