I would like to search for all punctuations in a string except /, #, $ and dot with no space after (.net for example)
I have done this so far.
?!['\/#$])\p{P}
Now I need to handle the dot with no space after.
If anyone has an idea...
I am using Java.
For example I need to replace all punctuations by "" (empty character) except for dot with no space after:
.net, asp.net hello. world, c#
becomes
.net asp.net hello world c#