so lets say I have written an article with many tags like [code]this is a code[/code], and I would know how many code tags are in the article and what is the text inside.
Confounded. I\'ve been using the below IF PREG_MATCH to distinguish between words which entire words and words which are parts of other words. It has suddenly ceased to function in this script, and an
OK, so now I\'ve got two problems. I\'ve got a list of filenames. Some of those filenames may contain a HTML hex color reference. Like #11AACC. Also I\'m interested only in image files (extensions jp
Hi I need assistance changing the preg_match to check for 2-16chars A-z 0-9 -_ and space. Right now its checking URL so i\'d need to remove the protocol, add space and 2-16 min/max chr.
I\'m looking to only perform a strip of characters if a certain word is found in a string, so if the开发者_JAVA百科 word numbers is matched with regex it will perform a strip all actual numbers 0-9 or
I have a string such as: #sometag-{serialized-data-here} And I want to match this pattern, but use everything inside the curly braces (so I can unserialize it later). How can I match this text patt
I am searching through text line by line and want to see if the line contains the phrase \"see details\" and is not case sensitive, so will find:
I\'m trying to find special characters with characters like <开发者_JAVA百科?, <?php, or ?> in a string. The code below works to find \"php\" in the string anywhere no matter if it\'s PHP, ph
this is probably very easy question... I don\'t really know how to use pattern search (preg_match) and I am faced with code which includes it...
I only knows basic regex, so I am look for help here. I need to match URL with this pattern: /kb/This-is-开发者_开发知识库possible-title-12345.html