Regex: IMG TAG

As i said before, i wanna share my Regex code, to catch the file name in HTML IMG TAG. Let me explain why i create this Regex code. I have IMG TAG that i need to catch only the file name. I don’t care about other attribute (ex. border=”0″) all i want just the file name inside the src attribute (ex. src=”file/path/i_want_this.jpg“); Read the rest of this entry »

Allowing outside link in Flash Player 8

When you play flash movie in the local machine, and you have flash player 8 (or higher) installed, sometimes when you click some link inside the movie, the popup window appear, and tell you that the flash movie you play is trying to communicate with some site. Read the rest of this entry »

Windows Vista Upgrade Guide

Vista vs XP

Engadget has posted a well written guide to upgrading your XP to Vista. Check out to see the comparison between XP and Vista. So you could decide, upgrade it or not ;)

Regex

I stuck almost 3 hours today finding the right regex code to convert html img tag in my code.

WTF! My previous code doesn’t work!! Whats wrong?? I’m too lazy to correct it, read the F**Kin’ manual!!

Hell Yeah, after couple of hour googling, and combining the code, i get it work correctly. Heres some sort of description about Regex if you don’t know what the hell is it?

regular expression (abbreviated as regexp or regex, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and utilities to search and manipulate bodies of text based on certain patterns. Many programming languages support regular expressions for string manipulation. For example, Perl and Tcl have a powerful regular expression engine built directly into their syntax. The set of utilities (including the editor ed and the filter grep) provided by Unix distributions were the first to popularize the concept of regular expressions.

Next time i post my code, time to sleep its 4am…………