regex-negation
Regex to find some .php files
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[详细]
2023-02-28 03:31 分类:问答Is there any way to specify "any character but [aeiou]" in a PHP regular expression?
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[详细]
2023-02-23 00:45 分类:问答Negative lookahead regex not working
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.[详细]
2023-02-19 03:19 分类:问答Help with regex include and exclude
I would like some help with regex. I\'m trying to create an expression that will include certain strings and exclude certain strings.[详细]
2023-02-16 19:19 分类:问答regex to disallow whitespace
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[详细]
2023-02-15 11:46 分类:问答Is there any way of using the not (^) in regex for multiple characters?
I want to make a Regex pattern that matches all relative patches. What i want to match: img src=\"image.png\"[详细]
2023-02-14 11:31 分类:问答How to find all tags from string using RegEx using C#.net?
I want to find all HTML tags from the input strings and removed/replace with some text. suppose that I have string[详细]
2023-02-14 02:50 分类:问答preg_match exclude a number
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[详细]
2023-02-13 06:54 分类:问答Regex negative lookahead in c#
I need to match [\"this\" but not :[\"this\" I have this code: Match match = Regex.Match(result, @\"\\[\"\"(.*?)\"\"\",[详细]
2023-02-12 09:58 分类:问答Negation on RegEx?
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.[详细]
2023-02-11 21:24 分类:问答