Converted regex search argument to a string