On Mon, Mar 17, 2008 at 07:36:24AM -0400, Ken G. Brown wrote: > I'm trying to figure out a way of converting a list of decimal > representations of ascii characters, to their ascii character so I do not > need to do it manually. > > (\d+) finds the decimal numbers and \1 in the replace field will put them > back in, but how do i get them put back in as ascii characters? > > Thx for any tips.
Here's a Perl solution, which you can run as a filter on the selected text. #!perl -p s/(\d+)/chr($1)/ge; Ronald -- ------------------------------------------------------------------------ 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_script.shtml> List archives: <http://www.listsearch.com/bbeditscripting.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
