Update RegistrationManager.java

accept comma as special character