Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / September 2007



Tip: Looking for answers? Try searching our database.

Replacing special characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robin - 12 Sep 2007 18:29 GMT
I've a spreadsheet created by someone else where the individual has
inexplicably stuck an asterisk in front of entries in some fields. I
initially thought this was a no brainer, that a simple find and
replace all would do the trick, but apparently Excel treats the
asterisk as a wild card so it searched and repleaced everything. Not
good, particularly since there are almost 14,000 entries in this
sheet.

Is there a quick and simple way to find and replace special characters?
JE McGimpsey - 12 Sep 2007 18:41 GMT
> I've a spreadsheet created by someone else where the individual has
> inexplicably stuck an asterisk in front of entries in some fields. I
[quoted text clipped - 5 lines]
>
> Is there a quick and simple way to find and replace special characters?

Take a look at XL Help ("Wildcard characters you can use to find text or
numbers") for the escape character needed.
Carl Witthoft - 12 Sep 2007 22:39 GMT
> > I've a spreadsheet created by someone else where the individual has
> > inexplicably stuck an asterisk in front of entries in some fields. I
[quoted text clipped - 8 lines]
> Take a look at XL Help ("Wildcard characters you can use to find text or
> numbers") for the escape character needed.

Ahhhh,,   be nice:   Excel, for reasons known only to the morons in
Redmond,  use "~" as the escape char.   Word conforms properly to regexp
rules.

Signature

Team EM to the rescue!  mailto:carl@Team-EM.com   http://www.team-em.com

JE McGimpsey - 13 Sep 2007 00:01 GMT
> Ahhhh,,   be nice:

?????

Why is giving a reference to on-line help less nice than giving a snarky
snippet?

Give someone a fish, and all that...

> Word conforms properly to regexp rules.

Now THAT isn't nice!

Unless by "regexp rules" you mean 'crippled and utterly non-standard
regular expression syntax'.

Word's irregular expression wildcards don't come close to conforming
with any accepted regexp standards (e.g., Unix, POSIX ERE, Perl). It's
impossible to configure Word's wildcards into configurations that would
be simple in the others.
Robin - 13 Sep 2007 15:06 GMT
Regardless, the tilde works. Thanks.
Carl Witthoft - 14 Sep 2007 02:18 GMT
> > Ahhhh,,   be nice:
>
[quoted text clipped - 16 lines]
> impossible to configure Word's wildcards into configurations that would
> be simple in the others.

Really?   like   2[a-j]  ?   It's not a perfect match but those familiar
w/ regexp won't take much time to understand Word's Find/Replace syntax.

Signature

Team EM to the rescue!  mailto:carl@Team-EM.com   http://www.team-em.com

JE McGimpsey - 14 Sep 2007 23:04 GMT
> Really?   like   2[a-j]  ?   It's not a perfect match but those familiar
> w/ regexp won't take much time to understand Word's Find/Replace syntax.

Those familiar with regexp, in my experience, generally find themselves
frustrated with Word's non-standard version.

However, de gustibus non disputandum est. If it works for you, that's
great.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.