I have a string of a Logical Expression
Ex:
((T ∨ F → T) ∧ (T → F)) → (∼F → T)
I need to remove the whitespace from the string and put them together as a result:
((T∨F→T)∧(T→F))→(∼F→T)
How can I do this in Java? I tried to use replaceAll("\s","");
but I was not successful.