Hi i want to target all the scss variables which is used for styles
Question: i want to target all the scss variables which comes after : with $name it might come inside ($name) as shown in below image (red color highlight)
My Expectation is shown in below image(red color highlight):
From above image i want to highlight all the red color marked variables
here is what i have tried
(:)(\s+\$+.*;)
Which fails so many test cases
Demo: https://regex101.com/r/WtyoF6/1
Request: please include any other testcases if you know.
Please help me thanks in advance !!!!