-
Jordan Petridis authored
Use regex to search for all the patterns at once, then iterate over them and push the non-matched slices into the new string. Replace the pattens with a custom &str and push it.
Use regex to search for all the patterns at once, then iterate over them and push the non-matched slices into the new string. Replace the pattens with a custom &str and push it.