There is no text in a JPEG. There can be only a raster image of text. You can, however, use optical character recognition (OCR) software to read and convert the text in the image into an editable format. OCR can be highly accurate, but it will not be perfect. You will have to manually correct any recognition errors.