Concept Flow - Searching and replacing text
Start with original text
Search for target substring
Is target found?
No→End, return original text
Yes
Replace target with new substring
Return modified text
End
The program starts with the original text, searches for a target substring, replaces it if found, and returns the modified text.