![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 18.11.2004 Ostrzeżenie: (0%) ![]() ![]() |
Witam
Mam takie wyrażnie regularne: $fhtml='/katalog/katalog2/plik123.html'; $preg=preg_replace('!/(.*)/.*.html*$!', '$1', $fhtml); Jakiego wyrażnie (zamiast tego, które prezentuje) użyć żeby w zmiennej $preg zawsze było 'katalog2'? Wyrażnie to działa, ale nie zawsze ;P Pozdro i thx |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 2 262 Pomógł: 21 Dołączył: 3.05.2004 Skąd: Sopot, Krakow, W-wa Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 2.10.2025 - 16:45 |