Created
September 4, 2023 13:56
-
-
Save daniele-quero/2aa14da3f9eb17f84a5c74d94a14c0cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string CoverTextWith(string text, string x) | |
{ | |
return Regex.Replace(text, "([A-Za-z0-9])", x); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment