Hello guys, I need to parse my textarea to get all words (followed by spaces) that has a $ as a prefix.
For example, I have the follwing text:
my name is $Ahmad and I wish $peace to all the $world
Now I need to extraxt $Ahmad and $peace, but not $world (because it has no spaces behind).
Here’s the fiddle: http://jsfiddle.net/fpjZX/
P.S. assuming you meant JavaScript…