vendredi 24 février 2017

Replace a pattern in a string with java regex

I have a string consist of several words where some words starts with #. I want to omit only the # from those words using java regex

example

"wordx wordy #wordz" should be replaced with "wordx wordy wordz"

Aucun commentaire:

Enregistrer un commentaire