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
  • 94,125
  • 30
  • 188
  • 241

0 Answers0