preg-replace
find image with specific src using preg_replace
I have some text with images within it. I want to replace specific images within the text with something else.[详细]
2023-04-13 05:15 分类:问答PHP Regex: Select all except last occurrence
I\'m trying to replace all \\n\'s sans that final one with \\n\\t in order to nicely indent for a recursive function.[详细]
2023-04-12 15:16 分类:问答php preg_replace not doing anything
For some reason my preg_replace call is not working, I have check everything I can think of to no avail. 开发者_运维问答Any suggestions?[详细]
2023-04-12 07:50 分类:问答PHP preg replace only allow numbers
How can I modify this existing preg_replace to only allow 开发者_开发知识库numbers? function __cleanData($c)[详细]
2023-04-12 00:13 分类:问答Can't get Regex working in PHP, works in RegEXP program
Here is the input I am searching: \\u003cspan class=\\\"prs\\\">email_address@me.com\\u003c\\/span>[详细]
2023-04-11 15:26 分类:问答How do I get a part of a string in php? [closed]
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic[详细]
2023-04-11 06:50 分类:问答php regular expression how do i get last part of a string
I hav开发者_JAVA百科e a file whatever_files_123456.ext. I need to read just the number after the last underscore in a filename.Filename can contain many underscores. I only care about the number after[详细]
2023-04-11 01:31 分类:问答Preg_replace image inner style [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Best methods to parse HTML with PHP开发者_运维技巧[详细]
2023-04-10 18:37 分类:问答PHP preg_replace single lines, ignore multiple lines possible?
I have spent a few hours on this and cannot figure it out but due to my lack of preg_match knowledge even after studying it may be something easy.This works 开发者_如何学JAVAin removing multiple lines[详细]
2023-04-10 17:04 分类:问答Need regex to grep quote tags
I need regex for preg_replace to change: [quote](content)[/quote] into <blockquote>(content)</blockquote>[详细]
2023-04-10 14:12 分类:问答