Connecting Tech Pros Worldwide Help | Site Map

How do I find a unicode character in a regexp

  #1  
Old November 5th, 2008, 03:35 AM
Mark Healey
Guest
 
Posts: n/a

From what I've read:

s/\x{2014}/--/g;

should find an mdash and replace it with "--", but it's not. Why?


--
Mark Healey
marnkews ãt healeyopolis döt com
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing case in a sentence to Capitalize Case. jackson.rayne@gmail.com answers 12 September 23rd, 2008 01:05 PM
Finding Upper-case characters in regexps, unicode friendly. possibilitybox@gmail.com answers 4 May 25th, 2006 02:55 PM
Finding position of a RegExp subexpression Csaba Gabor answers 7 April 22nd, 2006 05:15 PM