Mayfield Global Knowledge Center



Using regular expressions, what metacharacters do I use to specify a start and end of the line?

The ^ (caret) indicates start of a line while the $ (dollar) indicates the end of the line.
For example: ^cat$ will only locate the word cat

Would you like to...


del.icio.us

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favoritesAdd to favorites

User Opinions (7 votes)

85% thumbs up 14% thumbs down

How would you rate this answer?

Helpful
Not helpful
Thank you for rating this answer.