XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Gerald NelsonSubject: finding non-ascii characters
Author: Gerald Nelson
Date: 14 Jul 2002 05:25 PM
Is there a convenient way to find and optionally delete all non-ascii characters? I cut and paste from Word and some of these come along for the ride.

If I know they are there, I can easily do the find. It's those situations where I don't notice (or can't see) them that's the problem.

Thanks, Jerry Nelson

Postnext
Alberto MassariSubject: Re: finding non-ascii characters
Author: Alberto Massari
Date: 15 Jul 2002 06:21 AM
At 17.39 14/07/2002 -0400, you wrote:
>From: "Gerald Nelson"
>
>Is there a convenient way to find and optionally delete all non-ascii
>characters? I cut and paste from Word and some of these come along for the
>ride.
>
>If I know they are there, I can easily do the find. It's those situations
>where I don't notice (or can't see) them that's the problem.

You can enter a regular expression in the find/replace dialog: for
instance, to search for characters outside the ASCII table, you should
check the "Regular expression" check box and enter the string
"[^\x00-\xFF]" (replace \xFF with \x80 if you want to allow only the 7 bit
ASCII table).

Hope this helps

Alberto

Posttop
Gerald NelsonSubject: Re: finding non-ascii characters
Author: Gerald Nelson
Date: 15 Jul 2002 09:16 PM
That's cool, especially now that I know what a regular expression is. Thanks! Jerry Nelson

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.