Regular Expressions: Remove Links Hashes & Mentions from Tweet

Use this regular expresion to remove URLs (http://…) hashes (#ahash) and mentions (@amention) from Tweets or any other block of text for that matter.

For PHP code use:

/(@|#|http\:\/\/)([a-zA-z0-9\.\/])+/

 

For JavaScript:

^(@|#|http\:\/\/)([a-zA-z0-9\.\/])+$

 

 

Text Effects Using CSS

► CSS Text Gradients


 

► Create a Letterpress Effect with CSS Text-Shadow

 

 

► Text Embossing Technique With CSS

 

► CSS Gradient / Glossy Text Effect

 

► Add grunge effect to text using simple CSS

 

► Text-Shadow Exposed: Make cool and clever text effects with css text-shadow 

 

 

► CSS Text-Shadow in Safari, Opera, Firefox and more

 

► CSS Drop Shadows 

 

 

► How To Use Any Font You Wish With FLIR

 

► Two simple ways to create text embossing effect

 

 

► Using CSS Text-Shadow to Create Cool Text Effects

JSON: Tweets from Multiple Twitter Users

Use the following JSON URL to access tweets from multiple twitter users. Of course, you can parse this JSON response using JQuery, PHP or any other language to display these tweets however you want.

http://search.twitter.com/search.json?q=from%3acnnbrk+OR+from%3anpratc+OR+from%3bbc+OR+from%3abc

Find Websites Hosted on the Same Server

To discover websites hosted on the same server, all you need to do is get the server’s IP address and search for IP:_SERVER_IP_   on Bing.com

  1. To look up a server’s IP address: Click Start ► Run ► Type: cmd and press ENTER ► Type: ping www.samplewebsite.com ► This will return the website/server IP address.
  2. Now to discover websites on the same server, head over to Bing.com and type IP:_SERVER_IP_FROM_STEP_1 (e.g. IP: 97.74.158.128  will return all the websites on this server).

 


 

 

Remove Link Underlines Using CSS

To remove underlining of hyperlinks you can use the following style code in the link’s A tag:

STYLE="text-decoration: none"

For example:

If you use

This is a link

you’ll get a link that looks like this ► This is a link

But if you use

This is a link

you’ll get a link that looks like this ► This is a link (No underlining)