/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String line
= "COOP:166657,'NEW IBERIA AIRPORT ACADIANA REGIONAL LA US',200001,177,553"; Pattern pattern = Pattern.compile("^(.*?):(.*?),'(.*?)',(.*?),(.*?),(.*?)$", Pattern.DOTALL | Pattern.MULTILINE);
// Get matcher on this String.
Matcher m = pattern.matcher(line);
// If it matches, get and display group values.
if (m.matches()) {
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguUGF0dGVybjsKaW1wb3J0IGphdmEudXRpbC5yZWdleC5NYXRjaGVyOwoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQkKCQlTdHJpbmcgbGluZSA9ICJDT09QOjE2NjY1NywnTkVXIElCRVJJQSBBSVJQT1JUIEFDQURJQU5BIFJFR0lPTkFMIExBIFVTJywyMDAwMDEsMTc3LDU1MyI7ClBhdHRlcm4gcGF0dGVybiA9IFBhdHRlcm4uY29tcGlsZSgiXiguKj8pOiguKj8pLCcoLio/KScsKC4qPyksKC4qPyksKC4qPykkIiwgUGF0dGVybi5ET1RBTEwgfCBQYXR0ZXJuLk1VTFRJTElORSk7CgoJLy8gR2V0IG1hdGNoZXIgb24gdGhpcyBTdHJpbmcuCglNYXRjaGVyIG0gPSBwYXR0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