0

I have a string which contains both form $date0$ and ''$date0$'' (single '). I am using this regex to match (\$([^\$]+)\$) but it's only matching $date0$.

What regex should I use that matches both?

Maroun
  • 91,013
  • 29
  • 181
  • 233

0 Answers0