Need help in Identifying multiple occurrences for a pattern within a string.
Example Input: “can be anything1 START –any utf-8 chars– END can be anything2 START –any utf-8 chars– END can be anything3“
I need to replace all the “START(.)*END” patterns.
If I use the pattern “START(.)*END” it is matching everything including “can be anything2”, how to write a pattern in such scenarios. Thanks