in reply to Re^3: How to repeat a string multiple times if found match
in 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.

  • Comment on Re^4: How to repeat a string multiple times if found match