import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Example {
public static void main(String[] args) {
final String regex = ".*value=\"(.*)\".*";
final String string = " <option value=\"\">Select your Timezone</option>\n"
+ " <option value=\"Africa/Abidjan\">Africa/Abidjan</option>\n"
+ " <option value=\"Africa/Accra\">Africa/Accra</option>\n"
+ " <option value=\"Africa/Addis_Ababa\">Africa/Addis_Ababa</option>\n"
+ " <option value=\"Africa/Algiers\">Africa/Algiers</option>\n"
+ " <option value=\"Africa/Asmara\">Africa/Asmara</option>\n"
+ " <option value=\"Africa/Bamako\">Africa/Bamako</option>\n"
+ " <option value=\"Africa/Bangui\">Africa/Bangui</option>\n"
+ " <option value=\"Africa/Banjul\">Africa/Banjul</option>\n"
+ " <option value=\"Africa/Bissau\">Africa/Bissau</option>\n"
+ " <option value=\"Africa/Blantyre\">Africa/Blantyre</option>\n"
+ " <option value=\"Africa/Brazzaville\">Africa/Brazzaville</option>\n"
+ " <option value=\"Africa/Bujumbura\">Africa/Bujumbura</option>\n"
+ " <option value=\"Africa/Cairo\">Africa/Cairo</option>\n"
+ " <option value=\"Africa/Casablanca\">Africa/Casablanca</option>\n"
+ " <option value=\"Africa/Ceuta\">Africa/Ceuta</option>\n"
+ " <option value=\"Africa/Conakry\">Africa/Conakry</option>\n"
+ " <option value=\"Africa/Dakar\">Africa/Dakar</option>\n"
+ " <option value=\"Africa/Dar_es_Salaam\">Africa/Dar_es_Salaam</option>\n"
+ " <option value=\"Africa/Djibouti\">Africa/Djibouti</option>\n"
+ " <option value=\"Africa/Douala\">Africa/Douala</option>\n"
+ " <option value=\"Africa/El_Aaiun\">Africa/El_Aaiun</option>\n"
+ " <option value=\"Africa/Freetown\">Africa/Freetown</option>\n"
+ " <option value=\"Africa/Gaborone\">Africa/Gaborone</option>\n"
+ " <option value=\"Africa/Harare\">Africa/Harare</option>\n"
+ " <option value=\"Africa/Johannesburg\">Africa/Johannesburg</option>\n"
+ " <option value=\"Africa/Juba\">Africa/Juba</option>\n"
+ " <option value=\"Africa/Kampala\">Africa/Kampala</option>\n"
+ " <option value=\"Africa/Khartoum\">Africa/Khartoum</option>\n"
+ " <option value=\"Africa/Kigali\">Africa/Kigali</option>\n"
+ " <option value=\"Africa/Kinshasa\">Africa/Kinshasa</option>\n"
+ " <option value=\"Africa/Lagos\">Africa/Lagos</option>\n"
+ " <option value=\"Africa/Libreville\">Africa/Libreville</option>\n"
+ " <option value=\"Africa/Lome\">Africa/Lome</option>\n"
+ " <option value=\"Africa/Luanda\">Africa/Luanda</option>\n"
+ " <option value=\"Africa/Lubumbashi\">Africa/Lubumbashi</option>\n"
+ " <option value=\"Africa/Lusaka\">Africa/Lusaka</option>\n"
+ " <option value=\"Africa/Malabo\">Africa/Malabo</option>\n"
+ " <option value=\"Africa/Maputo\">Africa/Maputo</option>\n"
+ " <option value=\"Africa/Maseru\">Africa/Maseru</option>\n"
+ " <option value=\"Africa/Mbabane\">Africa/Mbabane</option>\n"
+ " <option value=\"Africa/Mogadishu\">Africa/Mogadishu</option>\n"
+ " <option value=\"Africa/Monrovia\">Africa/Monrovia</option>\n"
+ " <option value=\"Africa/Nairobi\">Africa/Nairobi</option>\n"
+ " <option value=\"Africa/Ndjamena\">Africa/Ndjamena</option>\n"
+ " <option value=\"Africa/Niamey\">Africa/Niamey</option>\n"
+ " <option value=\"Africa/Nouakchott\">Africa/Nouakchott</option>\n"
+ " <option value=\"Africa/Ouagadougou\">Africa/Ouagadougou</option>\n"
+ " <option value=\"Africa/Porto-Novo\">Africa/Porto-Novo</option>\n"
+ " <option value=\"Africa/Sao_Tome\">Africa/Sao_Tome</option>\n"
+ " <option value=\"Africa/Tripoli\">Africa/Tripoli</option>\n"
+ " <option value=\"Africa/Tunis\">Africa/Tunis</option>\n"
+ " <option value=\"Africa/Windhoek\">Africa/Windhoek</option>\n"
+ " <option value=\"America/Adak\">America/Adak</option>\n"
+ " <option value=\"America/Anchorage\">America/Anchorage</option>\n"
+ " <option value=\"America/Anguilla\">America/Anguilla</option>\n"
+ " <option value=\"America/Antigua\">America/Antigua</option>\n"
+ " <option value=\"America/Araguaina\">America/Araguaina</option>\n"
+ " <option value=\"America/Argentina/Buenos_Aires\">America/Argentina/Buenos_Aires</option>\n"
+ " <option value=\"America/Argentina/Catamarca\">America/Argentina/Catamarca</option>\n"
+ " <option value=\"America/Argentina/Cordoba\">America/Argentina/Cordoba</option>\n"
+ " <option value=\"America/Argentina/Jujuy\">America/Argentina/Jujuy</option>\n"
+ " <option value=\"America/Argentina/La_Rioja\">America/Argentina/La_Rioja</option>\n"
+ " <option value=\"America/Argentina/Mendoza\">America/Argentina/Mendoza</option>\n"
+ " <option value=\"America/Argentina/Rio_Gallegos\">America/Argentina/Rio_Gallegos</option>\n"
+ " <option value=\"America/Argentina/Salta\">America/Argentina/Salta</option>\n"
+ " <option value=\"America/Argentina/San_Juan\">America/Argentina/San_Juan</option>\n"
+ " <option value=\"America/Argentina/San_Luis\">America/Argentina/San_Luis</option>\n"
+ " <option value=\"America/Argentina/Tucuman\">America/Argentina/Tucuman</option>\n"
+ " <option value=\"America/Argentina/Ushuaia\">America/Argentina/Ushuaia</option>\n"
+ " <option value=\"America/Aruba\">America/Aruba</option>\n"
+ " <option value=\"America/Asuncion\">America/Asuncion</option>\n"
+ " <option value=\"America/Atikokan\">America/Atikokan</option>\n"
+ " <option value=\"America/Bahia\">America/Bahia</option>\n"
+ " <option value=\"America/Bahia_Banderas\">America/Bahia_Banderas</option>\n"
+ " <option value=\"America/Barbados\">America/Barbados</option>\n"
+ " <option value=\"America/Belem\">America/Belem</option>\n"
+ " <option value=\"America/Belize\">America/Belize</option>\n"
+ " <option value=\"America/Blanc-Sablon\">America/Blanc-Sablon</option>\n"
+ " <option value=\"America/Boa_Vista\">America/Boa_Vista</option>\n"
+ " <option value=\"America/Bogota\">America/Bogota</option>\n"
+ " <option value=\"America/Boise\">America/Boise</option>\n"
+ " <option value=\"America/Cambridge_Bay\">America/Cambridge_Bay</option>\n"
+ " <option value=\"America/Campo_Grande\">America/Campo_Grande</option>\n"
+ " <option value=\"America/Cancun\">America/Cancun</option>\n"
+ " <option value=\"America/Caracas\">America/Caracas</option>\n"
+ " <option value=\"America/Cayenne\">America/Cayenne</option>\n"
+ " <option value=\"America/Cayman\">America/Cayman</option>\n"
+ " <option value=\"America/Chicago\">America/Chicago</option>\n"
+ " <option value=\"America/Chihuahua\">America/Chihuahua</option>\n"
+ " <option value=\"America/Costa_Rica\">America/Costa_Rica</option>\n"
+ " <option value=\"America/Creston\">America/Creston</option>\n"
+ " <option value=\"America/Cuiaba\">America/Cuiaba</option>\n"
+ " <option value=\"America/Curacao\">America/Curacao</option>\n"
+ " <option value=\"America/Danmarkshavn\">America/Danmarkshavn</option>\n"
+ " <option value=\"America/Dawson\">America/Dawson</option>\n"
+ " <option value=\"America/Dawson_Creek\">America/Dawson_Creek</option>\n"
+ " <option value=\"America/Denver\">America/Denver</option>\n"
+ " <option value=\"America/Detroit\">America/Detroit</option>\n"
+ " <option value=\"America/Dominica\">America/Dominica</option>\n"
+ " <option value=\"America/Edmonton\">America/Edmonton</option>\n"
+ " <option value=\"America/Eirunepe\">America/Eirunepe</option>\n"
+ " <option value=\"America/El_Salvador\">America/El_Salvador</option>\n"
+ " <option value=\"America/Fort_Nelson\">America/Fort_Nelson</option>\n"
+ " <option value=\"America/Fortaleza\">America/Fortaleza</option>\n"
+ " <option value=\"America/Glace_Bay\">America/Glace_Bay</option>\n"
+ " <option value=\"America/Godthab\">America/Godthab</option>\n"
+ " <option value=\"America/Goose_Bay\">America/Goose_Bay</option>\n"
+ " <option value=\"America/Grand_Turk\">America/Grand_Turk</option>\n"
+ " <option value=\"America/Grenada\">America/Grenada</option>\n"
+ " <option value=\"America/Guadeloupe\">America/Guadeloupe</option>\n"
+ " <option value=\"America/Guatemala\">America/Guatemala</option>\n"
+ " <option value=\"America/Guayaquil\">America/Guayaquil</option>\n"
+ " <option value=\"America/Guyana\">America/Guyana</option>\n"
+ " <option value=\"America/Halifax\">America/Halifax</option>\n"
+ " <option value=\"America/Havana\">America/Havana</option>\n"
+ " <option value=\"America/Hermosillo\">America/Hermosillo</option>\n"
+ " <option value=\"America/Indiana/Indianapolis\">America/Indiana/Indianapolis</option>\n"
+ " <option value=\"America/Indiana/Knox\">America/Indiana/Knox</option>\n"
+ " <option value=\"America/Indiana/Marengo\">America/Indiana/Marengo</option>\n"
+ " <option value=\"America/Indiana/Petersburg\">America/Indiana/Petersburg</option>\n"
+ " <option value=\"America/Indiana/Tell_City\">America/Indiana/Tell_City</option>\n"
+ " <option value=\"America/Indiana/Vevay\">America/Indiana/Vevay</option>\n"
+ " <option value=\"America/Indiana/Vincennes\">America/Indiana/Vincennes</option>\n"
+ " <option value=\"America/Indiana/Winamac\">America/Indiana/Winamac</option>\n"
+ " <option value=\"America/Inuvik\">America/Inuvik</option>\n"
+ " <option value=\"America/Iqaluit\">America/Iqaluit</option>\n"
+ " <option value=\"America/Jamaica\">America/Jamaica</option>\n"
+ " <option value=\"America/Juneau\">America/Juneau</option>\n"
+ " <option value=\"America/Kentucky/Louisville\">America/Kentucky/Louisville</option>\n"
+ " <option value=\"America/Kentucky/Monticello\">America/Kentucky/Monticello</option>\n"
+ " <option value=\"America/Kralendijk\">America/Kralendijk</option>\n"
+ " <option value=\"America/La_Paz\">America/La_Paz</option>\n"
+ " <option value=\"America/Lima\">America/Lima</option>\n"
+ " <option value=\"America/Los_Angeles\">America/Los_Angeles</option>\n"
+ " <option value=\"America/Lower_Princes\">America/Lower_Princes</option>\n"
+ " <option value=\"America/Maceio\">America/Maceio</option>\n"
+ " <option value=\"America/Managua\">America/Managua</option>\n"
+ " <option value=\"America/Manaus\">America/Manaus</option>\n"
+ " <option value=\"America/Marigot\">America/Marigot</option>\n"
+ " <option value=\"America/Martinique\">America/Martinique</option>\n"
+ " <option value=\"America/Matamoros\">America/Matamoros</option>\n"
+ " <option value=\"America/Mazatlan\">America/Mazatlan</option>\n"
+ " <option value=\"America/Menominee\">America/Menominee</option>\n"
+ " <option value=\"America/Merida\">America/Merida</option>\n"
+ " <option value=\"America/Metlakatla\">America/Metlakatla</option>\n"
+ " <option value=\"America/Mexico_City\">America/Mexico_City</option>\n"
+ " <option value=\"America/Miquelon\">America/Miquelon</option>\n"
+ " <option value=\"America/Moncton\">America/Moncton</option>\n"
+ " <option value=\"America/Monterrey\">America/Monterrey</option>\n"
+ " <option value=\"America/Montevideo\">America/Montevideo</option>\n"
+ " <option value=\"America/Montserrat\">America/Montserrat</option>\n"
+ " <option value=\"America/Nassau\">America/Nassau</option>\n"
+ " <option value=\"America/New_York\">America/New_York</option>\n"
+ " <option value=\"America/Nipigon\">America/Nipigon</option>\n"
+ " <option value=\"America/Nome\">America/Nome</option>\n"
+ " <option value=\"America/Noronha\">America/Noronha</option>\n"
+ " <option value=\"America/North_Dakota/Beulah\">America/North_Dakota/Beulah</option>\n"
+ " <option value=\"America/North_Dakota/Center\">America/North_Dakota/Center</option>\n"
+ " <option value=\"America/North_Dakota/New_Salem\">America/North_Dakota/New_Salem</option>\n"
+ " <option value=\"America/Ojinaga\">America/Ojinaga</option>\n"
+ " <option value=\"America/Panama\">America/Panama</option>\n"
+ " <option value=\"America/Pangnirtung\">America/Pangnirtung</option>\n"
+ " <option value=\"America/Paramaribo\">America/Paramaribo</option>\n"
+ " <option value=\"America/Phoenix\">America/Phoenix</option>\n"
+ " <option value=\"America/Port-au-Prince\">America/Port-au-Prince</option>\n"
+ " <option value=\"America/Port_of_Spain\">America/Port_of_Spain</option>\n"
+ " <option value=\"America/Porto_Velho\">America/Porto_Velho</option>\n"
+ " <option value=\"America/Puerto_Rico\">America/Puerto_Rico</option>\n"
+ " <option value=\"America/Rainy_River\">America/Rainy_River</option>\n"
+ " <option value=\"America/Rankin_Inlet\">America/Rankin_Inlet</option>\n"
+ " <option value=\"America/Recife\">America/Recife</option>\n"
+ " <option value=\"America/Regina\">America/Regina</option>\n"
+ " <option value=\"America/Resolute\">America/Resolute</option>\n"
+ " <option value=\"America/Rio_Branco\">America/Rio_Branco</option>\n"
+ " <option value=\"America/Santarem\">America/Santarem</option>\n"
+ " <option value=\"America/Santiago\">America/Santiago</option>\n"
+ " <option value=\"America/Santo_Domingo\">America/Santo_Domingo</option>\n"
+ " <option value=\"America/Sao_Paulo\">America/Sao_Paulo</option>\n"
+ " <option value=\"America/Scoresbysund\">America/Scoresbysund</option>\n"
+ " <option value=\"America/Sitka\">America/Sitka</option>\n"
+ " <option value=\"America/St_Barthelemy\">America/St_Barthelemy</option>\n"
+ " <option value=\"America/St_Johns\">America/St_Johns</option>\n"
+ " <option value=\"America/St_Kitts\">America/St_Kitts</option>\n"
+ " <option value=\"America/St_Lucia\">America/St_Lucia</option>\n"
+ " <option value=\"America/St_Thomas\">America/St_Thomas</option>\n"
+ " <option value=\"America/St_Vincent\">America/St_Vincent</option>\n"
+ " <option value=\"America/Swift_Current\">America/Swift_Current</option>\n"
+ " <option value=\"America/Tegucigalpa\">America/Tegucigalpa</option>\n"
+ " <option value=\"America/Thule\">America/Thule</option>\n"
+ " <option value=\"America/Thunder_Bay\">America/Thunder_Bay</option>\n"
+ " <option value=\"America/Tijuana\">America/Tijuana</option>\n"
+ " <option value=\"America/Toronto\">America/Toronto</option>\n"
+ " <option value=\"America/Tortola\">America/Tortola</option>\n"
+ " <option value=\"America/Vancouver\">America/Vancouver</option>\n"
+ " <option value=\"America/Whitehorse\">America/Whitehorse</option>\n"
+ " <option value=\"America/Winnipeg\">America/Winnipeg</option>\n"
+ " <option value=\"America/Yakutat\">America/Yakutat</option>\n"
+ " <option value=\"America/Yellowknife\">America/Yellowknife</option>\n"
+ " <option value=\"Antarctica/Casey\">Antarctica/Casey</option>\n"
+ " <option value=\"Antarctica/Davis\">Antarctica/Davis</option>\n"
+ " <option value=\"Antarctica/DumontDUrville\">Antarctica/DumontDUrville</option>\n"
+ " <option value=\"Antarctica/Macquarie\">Antarctica/Macquarie</option>\n"
+ " <option value=\"Antarctica/Mawson\">Antarctica/Mawson</option>\n"
+ " <option value=\"Antarctica/McMurdo\">Antarctica/McMurdo</option>\n"
+ " <option value=\"Antarctica/Palmer\">Antarctica/Palmer</option>\n"
+ " <option value=\"Antarctica/Rothera\">Antarctica/Rothera</option>\n"
+ " <option value=\"Antarctica/Syowa\">Antarctica/Syowa</option>\n"
+ " <option value=\"Antarctica/Troll\">Antarctica/Troll</option>\n"
+ " <option value=\"Antarctica/Vostok\">Antarctica/Vostok</option>\n"
+ " <option value=\"Arctic/Longyearbyen\">Arctic/Longyearbyen</option>\n"
+ " <option value=\"Asia/Aden\">Asia/Aden</option>\n"
+ " <option value=\"Asia/Almaty\">Asia/Almaty</option>\n"
+ " <option value=\"Asia/Amman\">Asia/Amman</option>\n"
+ " <option value=\"Asia/Anadyr\">Asia/Anadyr</option>\n"
+ " <option value=\"Asia/Aqtau\">Asia/Aqtau</option>\n"
+ " <option value=\"Asia/Aqtobe\">Asia/Aqtobe</option>\n"
+ " <option value=\"Asia/Ashgabat\">Asia/Ashgabat</option>\n"
+ " <option value=\"Asia/Baghdad\">Asia/Baghdad</option>\n"
+ " <option value=\"Asia/Bahrain\">Asia/Bahrain</option>\n"
+ " <option value=\"Asia/Baku\">Asia/Baku</option>\n"
+ " <option value=\"Asia/Bangkok\">Asia/Bangkok</option>\n"
+ " <option value=\"Asia/Barnaul\">Asia/Barnaul</option>\n"
+ " <option value=\"Asia/Beirut\">Asia/Beirut</option>\n"
+ " <option value=\"Asia/Bishkek\">Asia/Bishkek</option>\n"
+ " <option value=\"Asia/Brunei\">Asia/Brunei</option>\n"
+ " <option value=\"Asia/Chita\">Asia/Chita</option>\n"
+ " <option value=\"Asia/Choibalsan\">Asia/Choibalsan</option>\n"
+ " <option value=\"Asia/Colombo\">Asia/Colombo</option>\n"
+ " <option value=\"Asia/Damascus\">Asia/Damascus</option>\n"
+ " <option value=\"Asia/Dhaka\">Asia/Dhaka</option>\n"
+ " <option value=\"Asia/Dili\">Asia/Dili</option>\n"
+ " <option value=\"Asia/Dubai\">Asia/Dubai</option>\n"
+ " <option value=\"Asia/Dushanbe\">Asia/Dushanbe</option>\n"
+ " <option value=\"Asia/Gaza\">Asia/Gaza</option>\n"
+ " <option value=\"Asia/Hebron\">Asia/Hebron</option>\n"
+ " <option value=\"Asia/Ho_Chi_Minh\">Asia/Ho_Chi_Minh</option>\n"
+ " <option value=\"Asia/Hong_Kong\">Asia/Hong_Kong</option>\n"
+ " <option value=\"Asia/Hovd\">Asia/Hovd</option>\n"
+ " <option value=\"Asia/Irkutsk\">Asia/Irkutsk</option>\n"
+ " <option value=\"Asia/Jakarta\">Asia/Jakarta</option>\n"
+ " <option value=\"Asia/Jayapura\">Asia/Jayapura</option>\n"
+ " <option value=\"Asia/Jerusalem\">Asia/Jerusalem</option>\n"
+ " <option value=\"Asia/Kabul\">Asia/Kabul</option>\n"
+ " <option value=\"Asia/Kamchatka\">Asia/Kamchatka</option>\n"
+ " <option value=\"Asia/Karachi\">Asia/Karachi</option>\n"
+ " <option value=\"Asia/Kathmandu\">Asia/Kathmandu</option>\n"
+ " <option value=\"Asia/Khandyga\">Asia/Khandyga</option>\n"
+ " <option value=\"Asia/Kolkata\">Asia/Kolkata</option>\n"
+ " <option value=\"Asia/Krasnoyarsk\">Asia/Krasnoyarsk</option>\n"
+ " <option value=\"Asia/Kuala_Lumpur\">Asia/Kuala_Lumpur</option>\n"
+ " <option value=\"Asia/Kuching\">Asia/Kuching</option>\n"
+ " <option value=\"Asia/Kuwait\">Asia/Kuwait</option>\n"
+ " <option value=\"Asia/Macau\">Asia/Macau</option>\n"
+ " <option value=\"Asia/Magadan\">Asia/Magadan</option>\n"
+ " <option value=\"Asia/Makassar\">Asia/Makassar</option>\n"
+ " <option value=\"Asia/Manila\">Asia/Manila</option>\n"
+ " <option value=\"Asia/Muscat\">Asia/Muscat</option>\n"
+ " <option value=\"Asia/Nicosia\">Asia/Nicosia</option>\n"
+ " <option value=\"Asia/Novokuznetsk\">Asia/Novokuznetsk</option>\n"
+ " <option value=\"Asia/Novosibirsk\">Asia/Novosibirsk</option>\n"
+ " <option value=\"Asia/Omsk\">Asia/Omsk</option>\n"
+ " <option value=\"Asia/Oral\">Asia/Oral</option>\n"
+ " <option value=\"Asia/Phnom_Penh\">Asia/Phnom_Penh</option>\n"
+ " <option value=\"Asia/Pontianak\">Asia/Pontianak</option>\n"
+ " <option value=\"Asia/Pyongyang\">Asia/Pyongyang</option>\n"
+ " <option value=\"Asia/Qatar\">Asia/Qatar</option>\n"
+ " <option value=\"Asia/Qyzylorda\">Asia/Qyzylorda</option>\n"
+ " <option value=\"Asia/Rangoon\">Asia/Rangoon</option>\n"
+ " <option value=\"Asia/Riyadh\">Asia/Riyadh</option>\n"
+ " <option value=\"Asia/Sakhalin\">Asia/Sakhalin</option>\n"
+ " <option value=\"Asia/Samarkand\">Asia/Samarkand</option>\n"
+ " <option value=\"Asia/Seoul\">Asia/Seoul</option>\n"
+ " <option value=\"Asia/Shanghai\">Asia/Shanghai</option>\n"
+ " <option value=\"Asia/Singapore\">Asia/Singapore</option>\n"
+ " <option value=\"Asia/Srednekolymsk\">Asia/Srednekolymsk</option>\n"
+ " <option value=\"Asia/Taipei\">Asia/Taipei</option>\n"
+ " <option value=\"Asia/Tashkent\">Asia/Tashkent</option>\n"
+ " <option value=\"Asia/Tbilisi\">Asia/Tbilisi</option>\n"
+ " <option value=\"Asia/Tehran\">Asia/Tehran</option>\n"
+ " <option value=\"Asia/Thimphu\">Asia/Thimphu</option>\n"
+ " <option value=\"Asia/Tokyo\">Asia/Tokyo</option>\n"
+ " <option value=\"Asia/Tomsk\">Asia/Tomsk</option>\n"
+ " <option value=\"Asia/Ulaanbaatar\">Asia/Ulaanbaatar</option>\n"
+ " <option value=\"Asia/Urumqi\">Asia/Urumqi</option>\n"
+ " <option value=\"Asia/Ust-Nera\">Asia/Ust-Nera</option>\n"
+ " <option value=\"Asia/Vientiane\">Asia/Vientiane</option>\n"
+ " <option value=\"Asia/Vladivostok\">Asia/Vladivostok</option>\n"
+ " <option value=\"Asia/Yakutsk\">Asia/Yakutsk</option>\n"
+ " <option value=\"Asia/Yekaterinburg\">Asia/Yekaterinburg</option>\n"
+ " <option value=\"Asia/Yerevan\">Asia/Yerevan</option>\n"
+ " <option value=\"Atlantic/Azores\">Atlantic/Azores</option>\n"
+ " <option value=\"Atlantic/Bermuda\">Atlantic/Bermuda</option>\n"
+ " <option value=\"Atlantic/Canary\">Atlantic/Canary</option>\n"
+ " <option value=\"Atlantic/Cape_Verde\">Atlantic/Cape_Verde</option>\n"
+ " <option value=\"Atlantic/Faroe\">Atlantic/Faroe</option>\n"
+ " <option value=\"Atlantic/Madeira\">Atlantic/Madeira</option>\n"
+ " <option value=\"Atlantic/Reykjavik\">Atlantic/Reykjavik</option>\n"
+ " <option value=\"Atlantic/South_Georgia\">Atlantic/South_Georgia</option>\n"
+ " <option value=\"Atlantic/St_Helena\">Atlantic/St_Helena</option>\n"
+ " <option value=\"Atlantic/Stanley\">Atlantic/Stanley</option>\n"
+ " <option value=\"Australia/Adelaide\">Australia/Adelaide</option>\n"
+ " <option value=\"Australia/Brisbane\">Australia/Brisbane</option>\n"
+ " <option value=\"Australia/Broken_Hill\">Australia/Broken_Hill</option>\n"
+ " <option value=\"Australia/Currie\">Australia/Currie</option>\n"
+ " <option value=\"Australia/Darwin\">Australia/Darwin</option>\n"
+ " <option value=\"Australia/Eucla\">Australia/Eucla</option>\n"
+ " <option value=\"Australia/Hobart\">Australia/Hobart</option>\n"
+ " <option value=\"Australia/Lindeman\">Australia/Lindeman</option>\n"
+ " <option value=\"Australia/Lord_Howe\">Australia/Lord_Howe</option>\n"
+ " <option value=\"Australia/Melbourne\">Australia/Melbourne</option>\n"
+ " <option value=\"Australia/Perth\">Australia/Perth</option>\n"
+ " <option value=\"Australia/Sydney\" selected=\"selected\">Australia/Sydney</option>\n"
+ " <option value=\"Europe/Amsterdam\">Europe/Amsterdam</option>\n"
+ " <option value=\"Europe/Andorra\">Europe/Andorra</option>\n"
+ " <option value=\"Europe/Astrakhan\">Europe/Astrakhan</option>\n"
+ " <option value=\"Europe/Athens\">Europe/Athens</option>\n"
+ " <option value=\"Europe/Belgrade\">Europe/Belgrade</option>\n"
+ " <option value=\"Europe/Berlin\">Europe/Berlin</option>\n"
+ " <option value=\"Europe/Bratislava\">Europe/Bratislava</option>\n"
+ " <option value=\"Europe/Brussels\">Europe/Brussels</option>\n"
+ " <option value=\"Europe/Bucharest\">Europe/Bucharest</option>\n"
+ " <option value=\"Europe/Budapest\">Europe/Budapest</option>\n"
+ " <option value=\"Europe/Busingen\">Europe/Busingen</option>\n"
+ " <option value=\"Europe/Chisinau\">Europe/Chisinau</option>\n"
+ " <option value=\"Europe/Copenhagen\">Europe/Copenhagen</option>\n"
+ " <option value=\"Europe/Dublin\">Europe/Dublin</option>\n"
+ " <option value=\"Europe/Gibraltar\">Europe/Gibraltar</option>\n"
+ " <option value=\"Europe/Guernsey\">Europe/Guernsey</option>\n"
+ " <option value=\"Europe/Helsinki\">Europe/Helsinki</option>\n"
+ " <option value=\"Europe/Isle_of_Man\">Europe/Isle_of_Man</option>\n"
+ " <option value=\"Europe/Istanbul\">Europe/Istanbul</option>\n"
+ " <option value=\"Europe/Jersey\">Europe/Jersey</option>\n"
+ " <option value=\"Europe/Kaliningrad\">Europe/Kaliningrad</option>\n"
+ " <option value=\"Europe/Kiev\">Europe/Kiev</option>\n"
+ " <option value=\"Europe/Kirov\">Europe/Kirov</option>\n"
+ " <option value=\"Europe/Lisbon\">Europe/Lisbon</option>\n"
+ " <option value=\"Europe/Ljubljana\">Europe/Ljubljana</option>\n"
+ " <option value=\"Europe/London\">Europe/London</option>\n"
+ " <option value=\"Europe/Luxembourg\">Europe/Luxembourg</option>\n"
+ " <option value=\"Europe/Madrid\">Europe/Madrid</option>\n"
+ " <option value=\"Europe/Malta\">Europe/Malta</option>\n"
+ " <option value=\"Europe/Mariehamn\">Europe/Mariehamn</option>\n"
+ " <option value=\"Europe/Minsk\">Europe/Minsk</option>\n"
+ " <option value=\"Europe/Monaco\">Europe/Monaco</option>\n"
+ " <option value=\"Europe/Moscow\">Europe/Moscow</option>\n"
+ " <option value=\"Europe/Oslo\">Europe/Oslo</option>\n"
+ " <option value=\"Europe/Paris\">Europe/Paris</option>\n"
+ " <option value=\"Europe/Podgorica\">Europe/Podgorica</option>\n"
+ " <option value=\"Europe/Prague\">Europe/Prague</option>\n"
+ " <option value=\"Europe/Riga\">Europe/Riga</option>\n"
+ " <option value=\"Europe/Rome\">Europe/Rome</option>\n"
+ " <option value=\"Europe/Samara\">Europe/Samara</option>\n"
+ " <option value=\"Europe/San_Marino\">Europe/San_Marino</option>\n"
+ " <option value=\"Europe/Sarajevo\">Europe/Sarajevo</option>\n"
+ " <option value=\"Europe/Simferopol\">Europe/Simferopol</option>\n"
+ " <option value=\"Europe/Skopje\">Europe/Skopje</option>\n"
+ " <option value=\"Europe/Sofia\">Europe/Sofia</option>\n"
+ " <option value=\"Europe/Stockholm\">Europe/Stockholm</option>\n"
+ " <option value=\"Europe/Tallinn\">Europe/Tallinn</option>\n"
+ " <option value=\"Europe/Tirane\">Europe/Tirane</option>\n"
+ " <option value=\"Europe/Ulyanovsk\">Europe/Ulyanovsk</option>\n"
+ " <option value=\"Europe/Uzhgorod\">Europe/Uzhgorod</option>\n"
+ " <option value=\"Europe/Vaduz\">Europe/Vaduz</option>\n"
+ " <option value=\"Europe/Vatican\">Europe/Vatican</option>\n"
+ " <option value=\"Europe/Vienna\">Europe/Vienna</option>\n"
+ " <option value=\"Europe/Vilnius\">Europe/Vilnius</option>\n"
+ " <option value=\"Europe/Volgograd\">Europe/Volgograd</option>\n"
+ " <option value=\"Europe/Warsaw\">Europe/Warsaw</option>\n"
+ " <option value=\"Europe/Zagreb\">Europe/Zagreb</option>\n"
+ " <option value=\"Europe/Zaporozhye\">Europe/Zaporozhye</option>\n"
+ " <option value=\"Europe/Zurich\">Europe/Zurich</option>\n"
+ " <option value=\"Indian/Antananarivo\">Indian/Antananarivo</option>\n"
+ " <option value=\"Indian/Chagos\">Indian/Chagos</option>\n"
+ " <option value=\"Indian/Christmas\">Indian/Christmas</option>\n"
+ " <option value=\"Indian/Cocos\">Indian/Cocos</option>\n"
+ " <option value=\"Indian/Comoro\">Indian/Comoro</option>\n"
+ " <option value=\"Indian/Kerguelen\">Indian/Kerguelen</option>\n"
+ " <option value=\"Indian/Mahe\">Indian/Mahe</option>\n"
+ " <option value=\"Indian/Maldives\">Indian/Maldives</option>\n"
+ " <option value=\"Indian/Mauritius\">Indian/Mauritius</option>\n"
+ " <option value=\"Indian/Mayotte\">Indian/Mayotte</option>\n"
+ " <option value=\"Indian/Reunion\">Indian/Reunion</option>\n"
+ " <option value=\"Pacific/Apia\">Pacific/Apia</option>\n"
+ " <option value=\"Pacific/Auckland\">Pacific/Auckland</option>\n"
+ " <option value=\"Pacific/Bougainville\">Pacific/Bougainville</option>\n"
+ " <option value=\"Pacific/Chatham\">Pacific/Chatham</option>\n"
+ " <option value=\"Pacific/Chuuk\">Pacific/Chuuk</option>\n"
+ " <option value=\"Pacific/Easter\">Pacific/Easter</option>\n"
+ " <option value=\"Pacific/Efate\">Pacific/Efate</option>\n"
+ " <option value=\"Pacific/Enderbury\">Pacific/Enderbury</option>\n"
+ " <option value=\"Pacific/Fakaofo\">Pacific/Fakaofo</option>\n"
+ " <option value=\"Pacific/Fiji\">Pacific/Fiji</option>\n"
+ " <option value=\"Pacific/Funafuti\">Pacific/Funafuti</option>\n"
+ " <option value=\"Pacific/Galapagos\">Pacific/Galapagos</option>\n"
+ " <option value=\"Pacific/Gambier\">Pacific/Gambier</option>\n"
+ " <option value=\"Pacific/Guadalcanal\">Pacific/Guadalcanal</option>\n"
+ " <option value=\"Pacific/Guam\">Pacific/Guam</option>\n"
+ " <option value=\"Pacific/Honolulu\">Pacific/Honolulu</option>\n"
+ " <option value=\"Pacific/Johnston\">Pacific/Johnston</option>\n"
+ " <option value=\"Pacific/Kiritimati\">Pacific/Kiritimati</option>\n"
+ " <option value=\"Pacific/Kosrae\">Pacific/Kosrae</option>\n"
+ " <option value=\"Pacific/Kwajalein\">Pacific/Kwajalein</option>\n"
+ " <option value=\"Pacific/Majuro\">Pacific/Majuro</option>\n"
+ " <option value=\"Pacific/Marquesas\">Pacific/Marquesas</option>\n"
+ " <option value=\"Pacific/Midway\">Pacific/Midway</option>\n"
+ " <option value=\"Pacific/Nauru\">Pacific/Nauru</option>\n"
+ " <option value=\"Pacific/Niue\">Pacific/Niue</option>\n"
+ " <option value=\"Pacific/Norfolk\">Pacific/Norfolk</option>\n"
+ " <option value=\"Pacific/Noumea\">Pacific/Noumea</option>\n"
+ " <option value=\"Pacific/Pago_Pago\">Pacific/Pago_Pago</option>\n"
+ " <option value=\"Pacific/Palau\">Pacific/Palau</option>\n"
+ " <option value=\"Pacific/Pitcairn\">Pacific/Pitcairn</option>\n"
+ " <option value=\"Pacific/Pohnpei\">Pacific/Pohnpei</option>\n"
+ " <option value=\"Pacific/Port_Moresby\">Pacific/Port_Moresby</option>\n"
+ " <option value=\"Pacific/Rarotonga\">Pacific/Rarotonga</option>\n"
+ " <option value=\"Pacific/Saipan\">Pacific/Saipan</option>\n"
+ " <option value=\"Pacific/Tahiti\">Pacific/Tahiti</option>\n"
+ " <option value=\"Pacific/Tarawa\">Pacific/Tarawa</option>\n"
+ " <option value=\"Pacific/Tongatapu\">Pacific/Tongatapu</option>\n"
+ " <option value=\"Pacific/Wake\">Pacific/Wake</option>\n"
+ " <option value=\"Pacific/Wallis\">Pacific/Wallis</option>\n"
+ " <option value=\"UTC\">UTC</option>";
final String subst = "'$1' => __( '$1' ),";
final Pattern pattern = Pattern.compile(regex);
final Matcher matcher = pattern.matcher(string);
// The substituted value will be contained in the result variable
final String result = matcher.replaceAll(subst);
System.out.println("Substitution result: " + result);
}
}
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Java, please visit: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html