I need help with this preg_match script. I want to have a text that is inside a bbcode. So this would be the string: [caption id=\"attachment_123\" align=\"alignleft\" width=\"100\" caption=\"This is
From 10,000 lines of data I have to get all the lines that don\'t contain words that START like \"en\" or \"it\" or \"de\" etc.., that are from 2 to 5 long a-z and A-Z with \"-\" too (minus sign) and
I try and try again with Regex, I just don\'t get it. I\'m trying to traverse a log file for FFMPEG and get the FPS.
can someone show me the regex for this preg_match. I want to make sure first letter in string is nothing but a letter, either uppercase or lowercase. thanks. I found this, but it doesnt seem to be wor
I have this code preg_match(\"/\\bHTTP(.)+ (\\d{3})/\", $string) In the last pattern I have to check for a 3 digit number that can be compo开发者_JAVA技巧sed by any digit but should not create a nu
hi guys i was wondering how could i build e regExp that says: \"this string may contain 1-25 letters that are not these specific words:\"root\",\"bin\",\"downl开发者_开发问答oad\",\"shutdown\"
This question already has answers here: Closed 11 years ago. Possible Duplicates: Preg match text in php between html tags
The function below is designed to apply rel=\"nofollow\" attributes to all external links and no internal links unless the path matches a predefined root URL defined as $my_folder below.
I\'m building a tag system. I want it to check some text. Then check if the text contains any of terms listed in an array.
I have a name field and I want to validate, so the first char must be alphabetical of开发者_JS百科 the name and allow spaces and dashes after. I have this so for but it will allow \"-\" as first char.