Mike Griffiths

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.

Leave a Comment :, more...

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.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post.