x Did you like it? Well, then please consider making a donation :)

Regex Tag - replace

Remove "Style" attribute from HTML tags

Remove all "style" attributes from HTML text.

Type: replace, Date: 8/12/2015 5:47:50 PMAuthor: admin

How do I replace multiple spaces with a single space?

Replace multiple spaces example

Type: replace, Date: 7/12/2015 4:10:18 PMAuthor: stackoverflow

Remove all non alphanumeric characters from a string except dash & space symbol

Replace this Regex with an empty string + Compiled flag

Type: replace, Date: 7/12/2015 3:52:40 PMAuthor: stackoverflow

Simple Regex.Replace sample - add for word gmail.com

From MSDN: Regex.Replace processes text replacements. It handles simple replacements and more complex ones.

Type: replace, Date: 3/30/2015 12:39:02 AMAuthor: admin