Should the last part be ->\s*$/' perhaps (note the \s*)>
In reply to Re: Regex check by GrandFather in thread Regex check by spivey49