If you want to give an exhaustive answer to a question about productivity, you need to check both cases.
As for readability / maintainability, you can write unreadable code in any language, and you can do regular expressions. If you're writing big, be sure to use the x modifier ( IgnorePatternWhitespace in C #) and use comments to create your regular expression.
A randomly selected example from one of my past answers in c# :
MatchCollection result = Regex.Matches (testingString, @" (?<=\$)
source share