link regex and tesseract