Heim  >  Fragen und Antworten  >  Hauptteil

如何才能从文本中提取http网址

如何才能从文本中提取http网址???有人知道吗?
代言代言2741 Tage vor1093

Antworte allen(1)Ich werde antworten

  • PHP中文网

    PHP中文网2017-04-19 17:06:06

    preg_match_all('/([^"\'`])(https?:\/\/[a-zA-Z0-9_\?=%&#\.\/-]+?)([^a-zA-Z0-9_\?=%&#\.\/-])/Usi',$content,$out,PREG_SET_ORDER);


    Antwort
    0
  • StornierenAntwort