Author Archive
Strip HTML from a string in JavaScript
by admin on May.20, 2011, under Web Development
Nice handy way of removing all HTML from a string using on JavaScript:
variable.replace(/<.*?>/g, '');
There are other ways of doing this, but they rely on the presence of a web browser. This should work in most modern JS engines.
Mike on Design
by admin on Jun.18, 2010, under Findings, General, Projects
I use this blog for lots of technical chit chat, and for publishing the odd bit of code. One thing I don’t use it for though, is general crappy ramblings or design-esque talk.
Because of this I’ve just launched my blogger account, it’s over at Mike on design. Over here you’ll find chat about latest design finds, logos and lots of nice looking things.
Enjoy.