The Un-Official Proxomitron Forum
Case substitution - Printable Version

+- The Un-Official Proxomitron Forum (
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Archive (/forumdisplay.php?fid=50)
+---- Forum: BFilter (/forumdisplay.php?fid=41)
+----- Forum: Filters (/forumdisplay.php?fid=33)
+----- Thread: Case substitution (/showthread.php?tid=1425)

Case substitution - siluro - Jul. 01, 2009 02:52 AM

Hi. I have been searching for a linux proxy server that can rewrite html on the fly. Specifically, I need to parse pages using regex and selectively convert text strings to all uppercase. I have yet to find a proxy package that can do this. Can bfilter?


RE: Case substitution - jart - Jul. 01, 2009 07:31 PM

Well, kind of. It's going to work reliably only with english characters, as it knows nothing about encodings.
See this page for more details:

RE: Case substitution - siluro - Jul. 01, 2009 08:37 PM

Thank you! Actually, after installing and testing it does exactly what I want! Regex expression substitutions do the trick. Yeah! However, the *real* challenge is going to be writing appropriate regexes to match the text from complex HTML pages. :-(