• in function

    public function linkHashtags( $text ) {
    		$text = preg_replace_callback('/(^|\s)(#[\w\x{00C0}-\x{00D6}\x{00D8}-\x{00F6}\x{00F8}-\x{00FF}]*)/i', array($this, '_linkHashtagsCallback'), $text);
    		return $text;
    	}

    regex does not support latin chars such as áàéèíïóòúüçñ and their uppercase.
    i don’t know any regex, so if anyone could help, would much appreciate!
    txs.

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  • The topic ‘preg_repleace hashtags’ is closed to new replies.