About 8,340 results
Open links in new tab
  1. Regex find word in the string - Stack Overflow

    Feb 19, 2012 · Optionally Word boundary "pass" Word boundary Single char End of input which I would not expect to match "high pass h3" at all. The regular expression: pass (no …

  2. Search text in stored procedure in SQL Server - Stack Overflow

    Feb 5, 2013 · So next time whenever you want to find a particular text in any of the four objects like Store procedure, Views, Functions and Tables. You just need to write that keyword and …

  3. Check if a word is in a string in Python - Stack Overflow

    I'm working with Python, and I'm trying to find out if you can tell if a word is in a string. I have found some information about identifying if the word is in the string - using .find, but is ther...

  4. Regular expression to match a word or its prefix

    Aug 23, 2013 · I want to match a regular expression on a whole word. In the following example I am trying to match s or season but what I have matches s, e, a, o and n. [s|season] How do I …

  5. How can I use grep to find a word inside a folder?

    Nov 8, 2010 · In Windows, I would have done a search for finding a word inside a folder. Similarly, I want to know if a specific word occurs inside a directory containing many sub-directories and …

  6. unix - How to grep for the whole word - Stack Overflow

    This should find only s:text instances with a space after the last t. If you need to find s:text instances that only have a name element, either pipe your results to another grep expression, …

  7. How to find a whole word in a String in Java? - Stack Overflow

    If you want to identify a whole word in a string and change the content of that word you can do this way. Your final string stays equals, except the word you treated.

  8. Find substring in string but only if whole words? - Stack Overflow

    What is an elegant way to look for a string within another string in Python, but only if the substring is within whole words, not part of a word? Perhaps an example will demonstrate what I mean:

  9. Find 'word' not followed by a certain character - Stack Overflow

    Jul 3, 2015 · The (?!@) negative look-ahead will make word match only if @ does not appear immediately after word: word(?!@) If you need to fail a match when a word is followed with a …

  10. How to find index of an exact word in a string in Python

    Aug 15, 2016 · 44 You should use regex (with word boundary) as str.find returns the first occurrence. Then use the start attribute of the match object to get the starting index.