Regulars expressions are a sort of shorthand , these are used in pattern matching and substitutions. A regular expression is just sequence or a pattern of characters that is matched against a string of text. Regexps are very powerful and useful tool. They contain a lot of meaning in a short space. Every single character in the regular expression has some meaning. Any regular expression should start with a / (slash) sign and end with a slash (/) sign. The below given example can explain the power of regular expressions. In this example 5 digits are to be entered by user, when user clicks on the button function ff is called and the value entered is checked with the regular expression. In the regular expression is /^\d{5}$/
what do you mean by regular expression in javascript ,write the regular expression for the following
What is scripting language? What are the advantages and disadvantages of scripting languages?
A high-level programming language that is interpreted by another program(browsers) at runtime rather than compiled by the computer’s processor as other programming languages does(such as C and C++).
Note- it requires no compilation steps.
Advantages of scripting languages
Embedded within html –It does not require any special or separate editor for programs to be written,edited or compiled.it can be written in any text editor like notepad,along with appropriate html tags,and saved as filename.html
HTML files with embedded javascript commands can then be read and interpreted by any browser that is javascript
Minimal syntax –easy to learn
Quick development-Doe snot need time consuming compilation, scripts can be developed in a short period of time.
Portable- platform independence.
flexibility to change the of script
Dynamic code:
Integration with existing technologies:
Most Funny Bhabhi-devar joke
Bhabhi : Ghar mai Mera he Hukam chalta hai.
Mai Kehta hon, Garam paani le aao, woh le aati hai,
Dewar: Garam pani Q?
Bhabhi: Garam pani se Bartan Achay Dhultay hain.
sonia gandhi and manmohan singh funny picture
Learning Alphabets The Punjaabi Way![funniest Abcd ever]
A is for Aiscreame
B is for Backside, and it has nothing to do with your butt. It is an instruction to go to the rear of a building, or block, or shop or whatever.
C is for Caluoney and its not a process for replicating sheep, nor is its first name George. It is merely an area where people live e.g. ‘Defence Caluoney’.
D is for the proverbial ‘Dangar da Puttar’
E is for Expanditure, the spending of money
F is for Fackade, and even though it sounds like a bad word it is actually just the front of a building
G is for Gaddi, and the way a Punjabi can pilot his gaddi puts any F1 driver to shame.
H is for ‘Ho Jayega Ji’, and the moment you hear that you have to be careful because you can be reasonably sure it’s not going to happen.
I is for Intzaar, and to know more about it see P.
J is for Jutt, which every Punjabi seems to be..
K is for Khanna, Khurana, etc, the Punjabi equivalent of the Joneses (e.g.’Keeping up with the Khuranas ji’)
L is for Loin, the king of the jungle
M is for ‘Mrooti’, the car that an entire generation of Punjabis were in love with.
N is for ‘No Problem Ji.’ To find out how that works see H.
O is for Oye, which can be surprise (Oyye!), a greeting (Oyy!), anger (OYY!) or pain (Oy oy oy…).
P is for Punj Mint, and no matter how near (1 km) or far(100 km) a Punjabi is from you he always says he’ll reach you in punj mint (5 minutes…).
Q is for Queue, a word completely untranslatable into Punjabi does not exist in the culture.
R is for Riks, and a Punjabi is always prepared to take one (risk), even if the odds are against him.
S is for Sweetie, Sunny, Simmi and Sonu, who seem to own half the cars in Delhi .
T is for the official bird of Punjab : Tandoori Chickun.
U is for when you lose your sex appeal and become ‘Uncul-ji’
V is for VIP phone numbers @ Rs 15 lakh and counting.
W is for Whan, as in ‘Whan are you coming, ji?’
X is for the many X-rated words that flow freely in Punjabi conversations.
Y is for ‘You nonsanse’, when anger replaces vocabulary in a shouting match.
Z is for Zindgi which every Punjabi knows how to live to the fullest.
Secretary in short Skirt
Boss: Ye tum itne chote chote kapde kyon pehanti ho?
Secretary: Kya karu Sir, itni salary mein itna hi chote kapde ate hai.
Boss: Chalo aj se salary bandh.
Pirates of the Caribbean 4
Check out this new poster for the fourth “Pirates” movie, Pirates of the Caribbean: On Stranger Tides, just released by Walt Disney Pictures, starring starring Johnny Depp, Penelope Cruz, Geoffrey Rush, Ian McShane, Richard Griffiths, Stephen Graham, Gemma Ward, Judi Dench, and The Rolling Stone’s Keith Richardswith Rob Marshall directing.
Pirates of the Caribbean: On Stranger Tides captures the fun, adventure and humor that ignited the hit franchise –this time in Disney Digital 3D(TM). In this action-packed tale of truth, betrayal, youth and demise, Captain Jack Sparrow crosses paths with a woman from his past (Penelope Cruz), and he’s not sure if it’s love–or if she’s a ruthless con artist who’s using him to find the fabled Fountain of Youth. When she forces him aboard the Queen Anne’s Revenge, the ship of the formidable pirate Blackbeard (Ian McShane), Jack finds himself on an unexpected adventure in which he doesn’t know who to fear more: Blackbeard or the woman from his past.
Lincoln Lawyer Movie
Directed by Brad Furman from a screenplay by veteran screenwriter John Romano (Dark Angel, Intolerable Cruelty, Nights in Rodanthe), based on the novel by Michael Connelly, the cast also includes Marisa Tomei, Josh Lucas, John Leguizamo, Frances Fisher, Bob Gunton, Laurence Mason, with Bryan Cranston and William H. Macy. Lionsgate and Lakeshore Entertainment present a Lakeshore Entertainment Lionsgate production in association with Sidney Kimmel Entertainment Stone Village Pictures.
The Lincoln Lawyer will be in theaters on Friday, March 18, 2011.
Most Faltu Jokes 2011 collection
Boss: Ye tum itne chote chote kapde kyon pehanti ho?
Secretary: Kya karu Sir, itni salary mein itna hi chote kapde ate hai.
Boss: Chalo aj se salary bandh.
……………………………………………
Santa : Yar murgi k bache anda todkar bahar kaise aate hai?
Banta : Bhai, mujhe to ye samajh me nai aata k saale band ande me ghus kaise jate hai..!!!!
……………………………………………..
Ram ne sita ko SMS kiya
“Dear Situ,
what’s up ?
Main yaha mast hu & hope tu bhi Jhakaas hogi,
Laxman tujhe miss karta hai.. Yaar tu tension na le,
main bahut jaldi tujhe Ravan ke yaha se le jaunga.
Mene BSNL ka sim liya hai aur Ravan ka no free karwa liya hai.. Ravan ko maine mobile par bahut gaaliya di..
saale ne ye bol ke phone kaat diya ki battery low hai
So mai tujhe micromax ka 30days battery dual sim wala mobile aur1GB card sad song bhar ke Mr.Hanuman ke hath bhej raha hu. Isme net surfing bhi hai..
Ab humtum nyt calling ke maze le payenge, Laxman topup card lene gaya hai..
Aur haan maine Vibhishan ko Facebook pe add kar liya hai. Lanka me kya ho raha hai, wo sab status update kar deta hai.
Chal baad me chat karenge
……………………………………………..
Tom : Sale ! 1 laat marunga Mumbai ja k girega !
John : Mein marunga to America me girega !
Santa : Bhai mujhe dhire se 1 LAAT maro….Meko paas k gaon jana hai .. !!! Santa Rocks !!!!!!!!
……………………………………………..


