Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-10-08 16:16
Flavor·PCRE2 (PHP)

/
(?:<.*?>|&\w++;)(*SKIP)(*F)|micro
/
g
Open regex in editor

Description

In an HTML page, replace the text micro with µ. Oh, and don't screw up the code: don't replace inside <the tags> or &entities;

Submitted by anonymous