[Home] [By Thread] [By Date] [Recent Entries]

Subject: replacing tabs and the like in a string
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Wed, 19 Sep 2012 12:04:10 +0100
I tried the obvious replace("abc def", &#x9;'\\t') (the space is a
tab)  and variations thereof (declaring a variable for the tab) and  I
get "The regular expression in replace() must not be one that matches
a zero-length string"

If you have a solution to hand I'd be grateful.

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member