|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
hi, i have a problem with the REGEX and cleaner.php from impex tools. what i want is to change the BBCode [IMG] of all images which have the "example.com" url to [AME] BBCode PHP Code: [IMG]http://example.com/img/cbhdgvgdqarb.jpg[/IMG] to -->> PHP Code: [AME]http://example.com/img/cbhdgvgdqarb.jpg[/AME] so this is my idea, but dont work: PHP Code: $text = preg_replace('#(http.*example\.com.*)\[/img:[a-z0-9]+\]#siU', '[AME]h$1[/AME]', $text); are here experts that can fix this to a clean regexcode`? __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |