Fixed the regex replacing non-word chars