This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use replaceFirst(String regex, String replacement) to replace only the first match of a pattern.
You've completed the free preview. Subscribe to unlock every lesson in every course.