Solved

question on regex

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 …
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 will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

820 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