Created
August 23, 2017 01:18
-
-
Save 5up3rman/adecef795875ea585173e180e93b3568 to your computer and use it in GitHub Desktop.
ProposeValidItemName
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
static void Main(string[] args) | |
{ | |
var wildItemName = "<strong>Name of a Product<sup>™</sup> Version 1</strong>"; | |
var notEntirelyFixed = ItemUtil.ProposeValidItemName(wildItemName); | |
Console.WriteLine(notEntirelyFixed); | |
Console.ReadKey(); | |
} | |
// Result: strongName of a Productsupsup Version 1strong |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment