I\'m trying to make an exclusion regex for a crawler. I want to index all the .php files that appear in the /archives/ directory, but not anywhere else. So the regex should match all .php files, excep
I am developing a C# Web Service whose responses are always collections of things. Since I am too lazy and do not want to explicitly define collections of things, I implemented a generic class represe
input1=\"caused/VBN by/IN thyroid disorder\" Requirement: find word \"caused\" that is followed by slash followed by any number of capital alphabets -- and not followed by space + \"by/IN.
I would like some help with regex. I\'m trying to create an expression that will include certain strings and exclude certain strings.
I\'m looking for a regex that will allow Alpha Numeric and most all special characters except white space. It should be usable in c#. It would be nice if .net supported posix style but I can\'t seem t
I want to make a Regex pattern that matches all relative patches. What i want to match: img src=\"image.png\"
I want to find all HTML tags from the input strings and removed/replace with some text. suppose that I have string
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
I need to match [\"this\" but not :[\"this\" I have this code: Match match = Regex.Match(result, @\"\\[\"\"(.*?)\"\"\",
I have such string String str = \"<img src=\'earth\'> ddd earth ggg earth. fff \" I want to replace all \'earth\' by \'world\' except the one in img\'s src.