1. A method for optimizing generation of a regular expression utilized for entity extraction, the method comprising the steps of: receiving, at a server, an input from a user of the server, the input enabling at least a first performance optimization parameter; receiving, from a user of a client computer, a query comprising a plain text word; receiving, at the server, data extracted from an electronic repository that is communicatively connected to the server, the data describing probabilities of spelling errors based, at least in part, on a number of syllables in the plain text word; initializing, at the server, the first performance optimization parameter based, at least in part, on the received data and the input enabling at least the first performance optimization parameter; optimizing performance of generating the regular expression, at the server, by, at least in part, identifying, using the first performance optimization parameter, a syllable within the plain text word that has a high probability of at least one of an incorrectly substituted and transposed character within a spelling of a word having a same number of syllables as the plain text word; selecting, at the server, each character in the syllables identified; identifying, at the server, a group of characters from a confusion matrix that are commonly confused with the character selected; generating, at the server, a set of characters for each character selected, wherein the set of characters begin with one of the each character selected followed by and ending with the group of characters from the confusion matrix; generating, at the server, a regular expression by concatenating each set of characters; using the regular expression, searching, at the server, the electronic repository for information relevant to the query; and providing, to the user of the client computer, search results based on the regular expression.