How do you make a replaceAll case insensitive in Java?

Regular Expression String sentence = “The president said, “Work, work, and work,” are the keys to success. “; String result = sentence. replaceAll(“work”, “hard work”); System.20 Ağu 2020

Sizin İçin Seçtik  Ravencoin Bugun ne olur?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you make a replaceAll case-insensitive in Java?

Regular Expression String sentence = “The president said, “Work, work, and work,” are the keys to success. “; String result = sentence. replaceAll(“work”, “hard work”); System.20 Ağu 2020

Sizin İçin Seçtik  Is there a Contains function in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *