Solved

question on regex

Posted on 2012-03-11
2
253 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java Options in Zimbra Server 2 55
netstat -ano | find "8000" and taskkill /f /pid 2984 3 58
map related example 6 49
varialbe initialization 11 33
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

832 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