28 Sep, 2009

Remove html tags from a string

Posted in: Snippets

Java String html_stripped = html.replaceAll("\\<.*?\\>", ""); PHP strip_tags($html); // built-in PHP function to strip HTML and PHP tags Javascript var html_stripped = html.replace(/(<.*?>)/ig,"");

Continue reading Remove html tags from a string

Product Summary A handy little iPhone web app to calculate chmod permissions for files. Product Description Easy to use with a simple but pretty user interface, this chmod calculator is a useful utility for students, developers and system administrators.

Continue reading chmod calculator for iPhone

Comments Off

The main purpose of this code is to have “Read more” for a long block of text (eg: comments) without having to separate the text into two div blocks and then use toggle to show/hide the 2nd block. This code simply uses CSS overflow:hidden property to hide long block of text. jQuery live event is [...]

Continue reading Read more using jQuery live event

Profile PicHello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more about me or have a look at some of the tips & resources I've written.
Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
We do NOT spam.
Your name:  
Your email:  

Tips & Resources

Tips & Resources
WordPress Web Hosting
Recommended web hosting providers for WordPress 3.0
iPhone Native App Development
Important steps into iPhone app development for beginners
iPhone Web App Development
Tips for iPhone web app development
Coupons for Web Developers
Get discounts on web hosting, domain names, templates, etc
10 Useful jQuery Snippets
Easy-to-use jQuery snippets for any website
HTML Email Newsletter
Step-by-step tutorial on how to code an HTML email newsletter
  • bluehost Hosting $6.95/month
  • Joomla Templates