JAPANESE

Reduce multiple replacements to one using a dictionary

Create a character string conversion rule (dictionary). According to the dictionary, multiple replacements can be achieved in just one.

[ Example ] Register and replace the following dictionaries.

The first column is the conversion source character. The second column is the conversion destination character. In the case of an example, it is a dictionary that converts "Japan" to "JPN".

Japan JPN
United States USA
Australia AUS

Conversion example

Tokyo (Japan)
Washington DC (United States)
Canberra (Australia)
Tokyo (JPN)
Washington DC (USA)
Canberra (AUS)

Execution

Please register the dictionary in the text area below. The dictionary has two tab-separated columns. The first column is the conversion source (replacement candidate), and the second column is the conversion result (replacement character). Please enter by copying from Excel.

[ dictionary ]

Enter the character string to be converted at once in the text area below.

[ String to replace ]

[ Option ]

Replace with partial match (replace in the order registered in the dictionary)
Replace with exact match (replace when tab-delimited characters match exactly)