change RegEx in filter_url for text field
I think, I got the answer. I added "\$" to the $trail RegEx pattern.

$trail = '[a-zA-Z0-9:%_+*~#&amp;\[\]=/;?!\.,\-\$]*[a-zA-Z0-9:%_+*~#&amp;\[\]=/;-]';


Are there any drawbacks with this solution or is there a better way solving it?