in reply to Re^3: How to repeat a string multiple times if found matchin thread How to repeat a string multiple times if found match
I don't want foo_ foo line only foo_1 foo_2 foo_3
Please compare your code to the code I gave you here.