At 18:41 -0700 6/28/06, Michael Heth wrote:
>
>http://%74%6c%61%67%75%73%67%68%38%32.%63%61%66%65%32%34.%63%6f%6d/ 
>src/spam_input.asp?

It's URL encoded bytes.  I got this out of an O'Reilly book for preparing CGI 
scripts for a web server.

        $value =~ s/%([\dA-Fa-f][\dA-Fa-f])/pack ("C", hex ($1))/eg;

It's perl and the s/.  ../ . . ./eg is a substitute request.which can execute 
perl code in the substituted string (e) and it works on all instances of the 
search string (g).

It will fit directly into perl operating on $value where you would place your 
string which would get changed.

How to get that into a BBEdit #! menu or a simple find and replace is up to you 
or someone else.

-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to