Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { /** * Correct some OCR errors in argument where only letters are expected. */ private static String fixOcrNumsToLetters(String src) { return src.replace("1", "l").replace("0", "o").replace("5", "s").replace("2", "z"); } }