Regex For Extracting First 4 letters of search term

No need for a Regex. There’s substr( $string, int $offset ); built into PHP to achieve that.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)