
July 23rd, 2012, 04:50 PM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 1
Time spent in forums: 9 m 47 sec
Reputation Power: 0
|
|
|
Other - Find all words between $ signs
Hi,
I am trying to develop a regex that will find all words in a string that start and end with $
e.g. in the following string:
"Hello, $how$ are $you$ doing?"
I would want it to return either:
how
you
or:
$how$
$you$
(whichever is easiest).
Please could someone help.
Much appreciated!
James
|