![]() |
![]() |
![]()
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 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 02:14 |