0

I want to searche for a word/string and replace it with as many spaces as the length of the serched word/string.

Exemple : the string below has 24 characters

string with 24 characters will be replaced by a string with 24 spaces

Thanks

Paul T.
  • 3,118
  • 11
  • 19
  • 25
youssef mhiri
  • 103
  • 1
  • 10
  • Looks like you are looking to create a regex, but do not know where to get started. Please check [Reference - What does this regex mean](https://stackoverflow.com/questions/22937618) resource, it has plenty of hints. Also, refer to [Learning Regular Expressions](https://stackoverflow.com/questions/4736) post for some basic regex info. Once you get some expression ready and still have issues with the solution, please edit the question with the latest details and we'll be glad to help you fix the problem. – Wiktor Stribiżew Oct 15 '20 at 11:19

0 Answers0