Post Reply 
Case substitution
Jul. 01, 2009, 02:52 AM
Post: #1
Case substitution
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?

Thanks!
Add Thank You Quote this message in a reply
Jul. 01, 2009, 07:31 PM
Post: #2
RE: Case substitution
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: http://bfilter.sourceforge.net/doc/content-filters.php
Add Thank You Quote this message in a reply
Jul. 01, 2009, 08:37 PM
Post: #3
RE: Case substitution
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. :-(
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: