About 2,630,000 results
Open links in new tab
  1. How to match, but not capture, part of a regex? - Stack Overflow

    The key observation here is that when you have either "apple" or "banana", you must also have the trailing hyphen, but you don't want to match it. And when you're matching the blank string, …

  2. OR condition in Regex - Stack Overflow

    Apr 13, 2013 · For example, ab|de would match either side of the expression. However, for something like your case you might want to use the ? quantifier, which will match the previous …

  3. If two cells match, return value from third - Stack Overflow

    Oct 15, 2014 · =INDEX(B:B,MATCH(C2,A:A,0)) I should mention that MATCH checks the position at which the value can be found within A:A (given the 0, or FALSE, parameter, it looks only for …

  4. How can I compare two lists in python and return matches

    A quick performance test showing Lutz's solution is the best: import time def speed_test(func): def wrapper(*args, **kwargs): t1 = time.time() for x in xrange(5000): results = func(*args, …

  5. regex - Matching strings in PowerShell - Stack Overflow

    Jul 18, 2018 · I'm trying to match the file names against the recorded names in my CSV file. It generally works, but sometimes I get incorrect matches. Let's say I have two files that start …

  6. matchFeatures - Find matching features - MATLAB - MathWorks

    The function rejects a match when the distance between the features is greater than the value of MatchThreshold. Increase the value to return more matches. Increase the value to return more …

  7. regex - How do you access the matched groups in a JavaScript …

    Match indicates the result of running your RegEx pattern against your string like so: someString.match(regexPattern). Matched patterns indicate all matched portions of the input …

  8. Highlight Rows in Sheet1 that match values in Sheet2

    Nov 4, 2016 · I need a formula or Macro that will look at all SKUs in Sheet2, then find any matches in Sheet1 ColA, then highlight the rows where there is a match. I would really …

  9. regex - Match groups in Python - Stack Overflow

    Is there a way in Python to access match groups without explicitly creating a match object (or another way to beautify the example below)? Here is an example to clarify my motivation for …

  10. JavaScript - Use variable in string match - Stack Overflow

    Jun 9, 2019 · Although the match function doesn't accept string literals as regex patterns, you can use the constructor of the RegExp object and pass that to the String.match function: var re = …