Otsimine [0-9] [0-9]{2} [0-9]{2} [0-9]{3}[A-Z]{3} [a-z0-9]{4} [a-z]{1,}\. [a-z0-9\.]{1,}@[a-z0-9]{1,}\.[a-z]{2,3} [0-9]{2}\.[0-9]{2}\.[0-9]{4} [a-z0-9\.]\.ee [a-z0-9\.]{1,}\.ee Asendamine ([0-9]{1,}) //sisend arv \1 //väljund ([0-9]{4})-([0-9]{2})-([0-9]{2}) \3.\2.\1 [^0-9]([0-9]{4}|[0-9]{2})-([0-9]{2})-([0-9]{2}) ([0-9]{3})([A-Z]{3}) numbritega \1, tähtedega \2 ^.{1,}