Can you please help me with reg ex. I cant make it 🙁 I hate regex.
I need to match this string ${ANY_TEXT} .Exactly one “${” and exactly one closing tag “}”.
Thanks a lot. 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
\$\{[^}]+\}will match it. It will match${ABC}from${ABC}}}as well. If you want to match complete lines, simply anchor the regular expression using^\$\{[^}]+\}$.A good site to learn regular expressions is http://www.regular-expressions.info/.