Monday, March 11, 2024

Visual Studio ( or VS Code) strip all attributes from html tags

 This is a very simple shortcut, find and replace using following regex

Find - <(table|tr|td|p|div|span)[\S\s]*?\n?>

Replace - <$1>

No comments:

Regex obfuscate email

 Use this code in C# to obfuscate email using regex // Online C# Editor for free // Write, Edit and Run your C# code using C# Online Compile...