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?
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?