regex - Regular expression find matched between a string and a space -


i need find out words in sentence between $ , space $abc $cde $ety.

the result should abc, cde , ety.

i tried

'(?<=$$)(.*)(?=)' 

but shows error. wrong in or new suggestions?

you can try this:

\$(\w+) 

as capturing groups, you'll each of words.

\w match a-z, 0-9 , _, if want match letters, instance, can change to: \$([a-za-z]+)


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -