Added function finding regex