Technical question
Aug. 14th, 2008 10:05![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Is there a regular expression that would allow me to replace any character above ASCII-128 in a string with the HTML entity equiv, an in:
replace in {string}: ascii-X with &#X; where X between 128 and 255
It would save a nested loop if I could figure out how to do it in one statement.
replace in {string}: ascii-X with &#X; where X between 128 and 255
It would save a nested loop if I could figure out how to do it in one statement.