tf.strings.regex_replace

Replace elements of input matching regex pattern with rewrite.

Used in the notebooks

Used in the guide Used in the tutorials
tf.strings.regex_replace("Text with tags.<br /><b>contains html</b>",
                         "<[^>]+>", " ")
<tf.Tensor: shape=(), dtype=string, numpy=b'Text with tags.  contains html '>

input string Tensor, the source strings