Options:
---------------
|1. Encryption|
|2. Decryption|
---------------
Enter your choice:
1
Enter the phrase you want encrypted:
?
Exception in thread "main" java.util.regex.PatternSyntaxException: Dangling meta
character '?' near index 0
?
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)
at java.util.regex.Pattern.expr(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.<init>(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.lang.String.replaceAll(Unknown Source)
at encryption.main(encryption.java:376)
Press any key to continue . . .