About 74 results
Open links in new tab
  1. 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 …

  2. Negative matching using grep (match lines that do not contain foo)

    How do I match all lines not matching a particular pattern using grep? I tried this: grep '[^foo]'

  3. Match case statement with multiple 'or' conditions in each case

    Dec 2, 2022 · Match case statement with multiple 'or' conditions in each case Asked 2 years, 10 months ago Modified 1 year, 1 month ago Viewed 36k times

  4. How can I match "anything up until this sequence of characters" in …

    ^ match start of line .* match anything, ? non-greedily (match the minimum number of characters required) - [1] [1] The reason why this is needed is that otherwise, in the following string: …

  5. matchFeatures - Find matching features - MATLAB - MathWorks

    This MATLAB function returns indices of the matching features in the two input feature sets.

  6. regexp - Match regular expression (case sensitive) - MATLAB

    This MATLAB function returns the starting index of each substring of str that matches the character patterns specified by the regular expression.

  7. Regular expression to match string starting with a specific word

    Nov 13, 2021 · How do I create a regular expression to match a word at the beginning of a string? We are looking to match stop at the beginning of a string and anything can follow it. For …

  8. Powershell install - No match was found for the specified search ...

    Aug 13, 2020 · PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'dbatools'. Try Get-PSRepository to see all available …

  9. Regex how to match an optional character - Stack Overflow

    I have a regex that I thought was working correctly until now. I need to match on an optional character. It may be there or it may not. Here are two strings. The top string is matched while …

  10. Regular expression to match characters at beginning of line only

    Mar 30, 2018 · Regex symbol to match at beginning of a line: ^ Add the string you're searching for (CTR) to the regex like this: ^CTR Example: regex That should be enough! However, if you …