My Linux Stuff - Complete Blog For Linux Articles

My Linux Stuff - Complete Blog For Linux Articles

A Website For Complete Linux OS,Step by Step linux Installtion, Linux Tips and Tricks and Linux Stuff and so on... Connect and sharing here....



This below survey was taken many form many colleges in India. These Top 50 Engineering Colleges in India have Good Infrastructure, Good Environment, Educations , Staff, Placement , Research Activities and other Facilities are good.

Top 10 Government Engineering Colleges in India

Top 10 Government Engineering Colleges in India

These Government Engineering Colleges in India are really good for all kind of stuff like Education , research , Placement and New Innovation Ideas etc... But Getting seat in these colleges are heavy competition in students .....

Top 10 Colleges In India 2014

Top 10 Colleges In India 2014

Indian Institute Of Technology Delhi,Indian Institute Of Technology Bombay,Indian Institute Of Technology Kanpur,Indian Institute Of Technology Madras,Indian Institute Of Technology Kharagpur,Indian Institute Of Technology Roorkee,University Of Delhi,Indian Institute Of Technology Guwahati,University Of Calcutta,University Of Mumbai, National Institute Of Technology,Trichy.



This below survey was taken many form many colleges in India. These Top 100 Engineering Colleges in India have Good Infrastructure, Good Environment, Educations , Staff, Placement , Research Activities and other Facilities are good. If you want to do Engineering as your dream and try out these colleges

Subscribe Now!

Enter your email address:

Thursday, February 3, 2011

Custom Regular Expressions with Examples

This Article explains how can we use the custom regular
expressions in .NET. Here nearly 50 custom regular expressions covered. after
reading this article you should be able to create any type of custom reqular
Here is the .NET Custom regular expressions list.

Matches hello there, hello sam, hellotopical

To match the end
of the string, use the $ character. For example:

ere$Matches Where, and ThereThe ^
and $ characters are know as "Atomic Zero Width Assertions",
in case you were wondering.

Character Classes
Character classes
allow you to specify sets of characters or ranges. For example:

Matches Hey, and Hi, but not Zzz
In other words,
the string must contain at least one of the characters in the character class.
You can also exclude characters. For example:

Matches Zzz, but not Hey or Hi.
When the ^
character is the first character in the character class, it means "anything
but the following characters".

Putting this together,
we could create a pattern that matches strings that start with a vowel:

^[aeiou]Or, strings that
don't start with a vowel:

^[^aeiou]With character
classes, you can also specify ranges. For example:

Matches 0, 5, 8, or any number between 0 and 9.

Matches any two digit number (04, 13, 87, etc.), but there's
a better way to do this.

[a-zA-Z0-9_]Matches characters typically found in words. A short hand syntax
for this is \w
Some other build
in classes are \W for anything other than a word character
([^a-zA-Z0-9_]). \s for any whitespace character.
\S for any non-whitespace character. \d
for any decimal ([0-9]) and \D for any non-decimal

Sometime you want
to specify a certain number of characters that match a certain pattern.
For example, a zip code is 5 digits. This is written as:

Which says match the beginning of the string, followed by five digits, followed
by the end of the string. This matches 97211, 01293, 88460.

^[0-9]{5}-[0-9]{4}$Matches 9 digit zip codes, such as 97211-0165.
This could also be written as ^\d{5}-\d{4}$. where \d
matches any decimal (the same as [0-9]).
You can also specify
minimum and maximum 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">occurrences.
For example:

matches 1, 15, 987. In other words, any number that
is 1 to 3 digits in length.
You can specify
open ended ranges:

matches 1 or more digits. This can also be written ^\d+$

matches 0 or more digits. This can also be written ^\d*$

^[+-]{0,1}\d{0,}$matches 123, +123, and -123.
This could also be written as ^[+-]?\d* where ?
means 0 or 1 occurrences.
The regular exPssion
syntax contains a number of options that you can toggle. For example,
you can enable case insensitive matching with (?i:):

(?i:[aeiou])matches hello, and HELLO, but not

US Phone Number:
matches (555) 555-5555, or 555-555-5555
Improved US Phone Number
This recognizes 1-123-456-7890, 1 (123) 456 7980, 1 123 456
7890, (123) 456-7890, 123-456-7890, and so on, and makes sure that if one
paren is Psent both must be Psent.
International Phone

matches 1-12-3123-4141.
E-Mail Address
(by Lucadean)

5 Digit Zipcode
matches 12879, 97211
9 Digit Zipcode
matches 97211-1234

5 or 9 Digit Zipcode^\d{5}(-?\d{4})?$This exPssion will match 12345, 123451234, or 12345-1234.
(as in MM-DD-YYYY or MM/DD/YYYY, by Chow). Accepts 1 or 2 digits for month
and day.

More sophisticated
date, that accepts dates from 1/1/0001 - 12/31/9999 (mm/dd/yyyy), and validates
leap years (2/29/2000 is valid, but 2/29/2001 is not) - By Mike Akins based
off work by Michael Ash

Here's a version of the above
date exPssions that matches UK dates (dd/mm/yyyy) - by Adam Carless


IP Address^((25[0-5]2[0-4][0-9]1[0-9][0-9][1-9][0-9][0-9])\.){3}(25[0-5]2[0-4][0-9]1[0-9][0-9][1-9][0-9][0-9])$
matches, and, but
doesn't match or 999.1.1.1.

Make sure a string
doesn't contain certain characters (by Chris Venus):

matches hello, eye, fred (any string that doesn't have "a"
or "b" in it), but doesn't match bye.

UK Postal Codes
by John Dyke.

Their format
is an outer part: 1 or 2 letter(s) + 1 or 2 digits + a letter (sometime mainly
London) an inner part 1 digit and two letters.

The code is normally
written in capital letters with a space between the outer and inner parts;
it is understandable if the space is omitted

This regular
exPssion validates upper or lower case with or without the space:
CF1 2AA matches
as does cf564fg (= CF56 4FG) but a1234d, A12 77Y would not.

Extract all the
HTML tags from a web page:

In conjunction
with a little .NET code that extracts all the matches, this can be used to
extract every HTML tag from a page.

Or, if you just
want image tags, for example:

To get the values
of a CSV (updated by Arnold Bailey), you can use this exPssion:

In conjunction
with this code:
Regex r = new Regex(",(?=(?:[^\"]*\"[^\"]*\")*(?![^\"]*\"))");
string s = "\"a\",b,\"c, d, e\",,f";
string[] sAry = r.Split(s);
for(int i=0;i <; sAry.Length;i++)

Percentage (by
Andres Garcia)
- Matches 0, 0.0, 99.9, 100.0, but excludes -1, 100.1, etc.File Names (by Karl Moore)^([a-zA-Z]\:\\)\\([^\\]+\\)*[^\/:*?"<;>;]+\.DOC(l)?$ - alter the DOC here to your "valid" file extension, use "IgnoreCase"
Sample matches: c:\data.doc, e:\whitecliff\staff\km\file.DOC, \\network\km\file.doc 

Sample nonmatches: c:\, c:\myreport.txt, sitrep.doc 

Sample VB.NET code: 

Dim blnMatch As Boolean, strValue As String = "c:\files\report.doc"
blnMatch = System.Text.RegularExPssions.Regex.IsMatch( _
strValue, "^([a-zA-Z]\:\\)\\([^\\]+\\)*[^\/:*?""<;>;]+\.doc(l)?$", _

Credit Card Numbers (by Sushrut Joshi)^\d{4}((-\d{4}){3}$)((\d{4}){3}$) - Matches 1234-1234-1234-1234 or 1234123412341234, but not 1234-123412341234.
Numeric Value (by Benoit Aubuchon)^([^.][-0-9.]+[^.-])$ This will match 0.9, -99 but not .3, 4. and 4-

4 Herbs for Acne

Acne is a chronic skin disorder most often associated with adolescence, but acne can also be a problem for some even in their twenties, thirties and forties. It is caused when sebum from an over-active sebaceous gland combines with dirt and dead skin cells to block a pore or hair follicle. Herbal treatment is the most popular and safest alternative treatment for acne. Four herbs are well-known to be helpful in the treatment of acne: basil, neem, turmeric, and sandalwood.

1) Basil is worshiped in Asian cultures as the purest and most sublime plant due to its medicinal effect on all systems of the human body. Even the soil on which the basil plant grows becomes so pure that if you have a mud bath with that soil almost all ailments of the skin disappear. Basil is extremely effective in treating skin disorders because it is a blood purifier and kills bacteria.

2) Neem has proved to be beneficial in skin disorders such as warts, scabies, psoriasis, eczema, and even dandruff. It is extremely effective in acne treatment. propeties. If Neem leaves are crushed and applied as a paste to the face affected by acne, an immediate improvement is seen within a matter of minutes.

Neem counteracts the excess sugar contents in the body which are the cause of most of the skin disorders. Ancient medical texts, such as the Sushrita Sanhita, have demonstrated that Neem somehow inhibits the multiplication of viruses by combining with the skin cells. This blockage of virus growth imparts the germicidal and anti allergic properties to Neem.

3) Turmeric has been used for centuries in the oriental cultures as a complete remedy for infections, injuries, boils, accident recovery, etc.

4) Sandalwood is an Indian plant that has an extraordinary fragrance. The bark of the sandalwood tree is extremely smooth and sandalwood paste is applied on the body to impart an extremely smooth, unblemished, and lustrous look to the skin.

It's better to try natural remedies for acne instead of drugs for a couple of reasons. First, natural treatments for acne are usually less expensive then acne drugs. They also have fewer side effects. So it makes sense to try some natural treatments for acne first.

You can stop acne without drugs or over-the-counter products. You can stop the unnecessary scarring acne causes. You can start changing your life today. To find out how you can STOP acne at the root of the problem, instead of just masking the symptoms, click here.

Maintain Good Eye Health with Food

Do you know what to eat to protect and preserve the health of your eyes? Five common foods can go a long way toward keeping your eyes healthy for your entire life.
Ask most people what they think is their most valuable sense, and a majority will say their sense of sight. While the sense of touch is arguably more important, people who have had the sense of sight all their lives can't imagine life without it. That said, these people will likely want to know how to best preserve the health of their eyes. Of course, there are things people can do to keep their eyes safe (such as wearing protective goggles in situations that require them), but how can a person's diet protect and preserve the health of her eyes? How can a person maintain good eye health through his diet? Read more

The 5 types of programmers

In my code journeys and programming adventures I’ve encountered many strange foes, and even stranger allies. I’ve identified at least five different kinds of code warriors, some make for wonderful comrades in arms, while others seem to foil my every plan.
However they all have their place in the pantheon of software development. Without a healthy mix of these different programming styles you’ll probably find your projects either take too long to complete, are not stable enough or are too perfect for humans to look upon.

Duct TapeThe code may not be pretty, but damnit, it works!
This guy is the foundation of your company. When something goes wrong he will fix it fast and in a way that won’t break again. Of course he doesn’t care about how it looks, ease of use, or any of those other trivial concerns, but he will make it happen, without a bunch of talk or time-wasting nonsense. The best way to use this person is to point at a problem and walk away.

PerfectionYou want to do what to my code?
This guy doesn’t care about your deadlines or budgets, those are insignificant when compared to the art form that is programming. When you do finally receive the finished product you will have no option but submit to the stunning glory and radiant beauty of perfectly formatted, no, perfectly beautiful code, that is so efficient that anything you would want to do to it would do nothing but defame a masterpiece. He is the only one qualified to work on his code.

Anti-ProgrammingI’m a programmer, damnit. I don’t write code.
His world has one simple truth; writing code is bad. If you have to write something then you’re doing it wrong. Someone else has already done the work so just use their code. He will tell you how much faster this development practice is, even though he takes as long or longer than the other programmers. But when you get the project it will only be 20 lines of actual code and will be very easy to read. It may not be very fast, efficient, or forward-compatible, but it will be done with the least effort required.

Half-assedWhat do you want? It works doesn’t it?
The guy who couldn’t care less about quality, that’s someone elses job. He accomplishes the tasks that he’s asked to do, quickly. You may not like his work, the other programmers hate it, but management and the clients love it. As much pain as he will cause you in the future, he is single-handedly keeping your deadlines so you can’t scoff at it (no matter how much you want to).

TheoreticalWell, that’s a possibility, but in practice this might be a better alternative.
This guy is more interested the options than what should be done. He will spend 80% of his time staring blankly at his computer thinking up ways to accomplish a task, 15% of his time complaining about unreasonable deadlines, 4% of his time refining the options, and 1% of his time writing code. When you receive the final work it will always be accompanied by the phrase “if I had more time I could have done this the right way”.

Personally, I’d have to classify myself as the perfectionist. So, which type of programmer are you? Or perhaps you know another programming archetype that is missing from my list? Post a comment below and I’ll add it to a new updated list.

Fresher referral event on the 12th of February 2011 at our premises! Please submit your CVs latest by Friday 2:00 PM in order for us to process them on time.

“We have a Fresher referral event on the 12th of February 2011 at our premises! Please submit your CVs latest by Friday 2:00 PM in order for us to process them on time. Thanks for your support!”

Shortlisted profiles will be called for the written test & HR interview on Saturday, 12th Feb 2011. Post qualifying in the test, they will be invited for the interview process on Sunday, 13th Feb 2011.
Location : Hyderabad

Associate Software Engineer
Requisition No: 344388

Another opportunity to bring in fresh talent.

Referring dates: 3rd Feb’11 & 4th Feb’11

Desired Profile: 
  • B.E./MCA/B.Tech/M.Tech - passed out in 2010 only.
  • Candidate should have scored 60% & above in Graduation/Post Graduation.
  • Basic Programming skills with Database Knowledge is a must.
  • Strong aptitude skills.
  • Good written and verbal communication skills.
Refer online - Latest by 4th Feb 2011 till 2:00 PM!!

eHow : How to do just about everything

eHow : A reference site for just about everything else. Want to knowhow to tie a tie? Make pizza dough? Install a bathtub? This is the place.

Print what you like

Print what you like : With this online utility, you can remove ads, images of a webpage before printing. You can also change font size or font type. Save money and environment by reducing paper and ink usage. 

Urgent opening for C++ DEVELOPER in one of the largest company-BANGALORE

Our client, a corporation among top Indian IT companies, is a global provider of
consulting, IT services and outsourced R&D, infrastructure outsourcing and business
processes services.
They are the FIRST PCMM Level 5 and SEI Level 5 certified IT service Company in the

Company Name - SIEMENS

Skills: C++

Position: C++ Developer

Years of Experience: 1-2yrs

The job location is Bangalore

If you are interested and the following skill matches your profile pls get back to
me with your updated cv at this mail id.

Kindly send me your updated CV along with the details:-

Name and DOB(as per passport) -

Current Employer -

Nature of employment -

Designation -

Skill set-

Total Exp -

Relevent Exp -

Domain expertise-

Current ctc-

Expected ctc-

Education details-Highest Qualification/year of passing/percentage

Kindly revert back ASAP.

Thanks and Regards
Mili Chakraborty
Placement zone
107 B,Block F
New Alipore



Experience:0 - 1 Years

Location:Chennai, Mumbai

Compensation:Rupees 1,75,000 - 2,00,000
Bond period of 3 years

Education:UG - B.Tech/B.E. - Any Specialization PG - MCA

Industry Type:IT-Software/ Software Services


Functional Area:Application Programming, Maintenance

Desired Candidate Profile

60% and above throughout career from 2009/2010 batch

Candidate should be willing to relocate

Java/J2EE Certification or J2EE Training would be an added advantage

Interested candidates can walk-in on 5th February 2011 with an updated resume.

Job Description
1) Develop Application / Web Application using Java Programming
2) Data Analysis
3) Designing and Managing Database

Keywords: C, C++, OOPs, RDBMS, Java, JDBC, JSP, Servlets, J2EE

Company Profile
3Edge is a corporate sponsored initiative promoted by professionals
with indepth industry experience. Our mission is to transform talented
graduates to industry-ready professionals in a structured way. 3Edge
source talented resource to major IT firms

Contact Details

Company Name:3Edge Solutions

Executive Name:Ananth S / Jagadeesh S


Amazon Interview ( Software development Engineer - Bangalore 5th Feb 2011)

Designation : Software Development Engineer

Location : Bangalore

Skills : Java or C++

Education : BE/Btech

Interview details

Date : 5th Feb 2011

Time : 10 AM – 1 PM

Venue :

Venue: Amazon Development Centre (India) Pvt Ltd

5th Floor, Safina Towers,
No. 3, Ali Asker Road,

Bangalore: 560001

Contact person : Rinky Jain / Priyanka Vashist

Contact no : 080-41970000

Interview process :

One Technical Written test to cover Coding , DS and Algos

Two to three face to face technical rounds

Related Posts Plugin for WordPress, Blogger...