![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 48 Pomógł: 0 Dołączył: 25.12.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witajcie, mamy np taki string:
$str= "ba lasaldkaldkald http://przyklad.pl//test/UYBYBUYaBUY/11212fdf"; oraz string $str2= "bobodfoiudm ouierunieyr http://przyklad.pl//test/wewewewe/wewewewe"; Jak wyciąc wyrazeniem preg_match te fragmenty pogrubione ? |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 459 Pomógł: 26 Dołączył: 1.06.2009 Ostrzeżenie: (0%) ![]() ![]() |
Wyciągnij najpierw link a następnie: parse_url + explode
Ten post edytował djgarsi 2.03.2013, 14:00:57 -------------------- |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 1 233 Pomógł: 87 Dołączył: 6.03.2009 Ostrzeżenie: (40%) ![]() ![]() |
Jak wyżej. Wzór dla URLa możesz wybrać tutaj: http://regexlib.com/Search.aspx?k=URL&...CookieSupport=1
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 21:03 |