mercredi 21 juillet 2021

Please help a regular expression problem for a string

String aa = "aa\nbb\r\ncc";

I want to have a regular expression pattern to find the "\n" , but skip the "\r\n" . Thanks so much if anyone can help it ?

Aucun commentaire:

Enregistrer un commentaire