Use of Regex in OCR

What is Regex in java? Regex stands for "Regular expression". Regex in java is an API which is used to construct a pattern for searching or performing manipulations on the string. Regular expression is used for searching required