Thread: Regex examples
View Single Post
Old 04-20-2012, 12:53 PM   #65
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by Perkin View Post
You could use

Code:
& #32;
(remove the space)

Edit: I think you might only be able use that if the replace is part of text - not inside a tag.
That would work, but I was looking for something that would insert an actual ASCII space in the text, rather than an entity (for readability).

After lots of experimenting, I discovered that I could use
Code:
\U \E
as the replacement term but that seems indirect and inelegant. But it works.

G
GRiker is offline   Reply With Quote