how to match regular expression of £

In a project it took more than one hour to figure out how to find match regular expression of £ ( Pound sign).

You have to know what is Unicode character number.

for £ -> 00A3

————————
// In Javascript it will work
pattern = /\u00A3/;
output = string.match(pattern);
————————

Unicode character number list:

http://theorem.ca/~mvcorks/code/charsets/auto.html

Oh! so simple thing, I had no clew.
thank’s to Google.

Trackback URL

,

No Comments on "how to match regular expression of £"

Hi Stranger, leave a comment:

ALLOWED XHTML TAGS:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Comments