Solved

question on regex

Posted on 2012-03-11
2
251 Views
Last Modified: 2012-03-11
what does the $ at the end of this expression mean?
/^\d{1,2}-\d{1,2}-\d{4}$/

I understand every thing else.
0
Comment
Question by:bhomass
2 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 120 total points
ID: 37707946
^ at the begining means this should be the beginning of the String
and the same way $ means - that should be the end of the String
0
 

Author Comment

by:bhomass
ID: 37707951
ok, got you.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now