I think switching space to \\s would be more clear, also + instead of * so it isn't replacing "><" with "><"