regex
PHP preg match *.domain.com or *.domain.co.uk
I\'m开发者_运维百科 using this code to preg match for *.domain.com but need it changed to also include foreign domains which have a few periods like *.domain.co.uk. Any helps appreciated thanks[详细]
2023-04-13 02:27 分类:问答Add specific source file types to svn recursively
I know this is an ugly script but it does the job. What I am facing now is adding a few more extensions what would clutter the scrip even more.[详细]
2023-04-13 02:17 分类:问答Regex getting text inside
I have been trying to grab a first location name inside the sentences. The desired location name will exactly starts at the 2nd capital of the 开发者_开发知识库first sentence and then precisely end be[详细]
2023-04-13 02:10 分类:问答ASP.NET Regular Expression Validator Not Working on Internet Explorer 7
I am using the following Regular Expression Validator to ensure th开发者_如何学Ce password enter meets the requirements of 1 upper case, 1 lower case, 1 number, and 1 allowed special character:[详细]
2023-04-13 01:59 分类:问答How does this Powershell Regex work?
\'<Relation From=\"701047080\" ObjectNumber=\"166543300\" Output=\"77\" To=\"464616324\">\' -match \'(?<=Outp开发者_运维问答ut=\")[^\"]*\'[详细]
2023-04-13 01:56 分类:问答How do I remove the "+" and country code from a phone number?
I am using following API to get a phone number; however, some of the device will return the number in following format:[详细]
2023-04-13 01:55 分类:问答JavaScript Regex Remove Specific Consecutive Duplicate Characters
I am trying to build a regex function that will remove any non alpha numeric characters and remove all duplicate characters e.g. this : aabcd*def%gGGhhhijkklmnoP\\1223 would become this : abcddefgGhij[详细]
2023-04-13 01:36 分类:问答javascript regex select text in [] from a string
I\'m not too familiar with regular expressions in javascript. I\'m writing a validation plugin with jquery. I got all my regular expressions done except these two.[详细]
2023-04-13 01:28 分类:问答PHP regex for a word collection around a search phrase
Hi I am trying to create a regex that will do the following grab 5 words before the search phrase (or x if there is only x words there) and 5 words after the search phrase (or x if there is only x wo[详细]
2023-04-13 01:26 分类:问答Regex, match varying number of sets
I have a program looking to capture formatted string input. The input looks something like {1, 2, 3, 4, 5, 6, 7}[详细]
2023-04-13 01:15 分类:问答