Top "String-search" questions

String searching algorithms (also known as string matching algorithms) are an important class of string algorithms that try to find a place where one or several strings (also called patterns) are found within a larger string or text.

Case insensitive string search in golang

How do I search through a file for a word in a case insensitive manner? For example If I'm searching …

string go case-insensitive string-search
Boyer Moore Algorithm Understanding and Example?

I am facing issues in understanding Boyer Moore String Search algorithm. I am following the following document. Link I am …

algorithm string-search
Change foreign characters to their roman equivalent

I am using php and I was wondering if there was a predefined way to convert foreign characters to their …

php regex special-characters string-search
Search specific string and return whole line

What I would like to do is find all instances of a string in a text file, then add the …

c# .net string-search
Regular expression to only match X number of characters from end of line

Below you'll see a small excerpt of matches from the string 'octeon' in a 32b memory dump from a proprietary …

regex grep string-search
Search a string in a text file in batch script

How can I search a string in a text file line by line and when found a match, copy that …

batch-file string-search text-search
What are the main differences between the Knuth-Morris-Pratt and Boyer-Moore search algorithms?

What are the main differences between the Knuth-Morris-Pratt search algorithm and the Boyer-Moore search algorithm? I know KMP searches for …

algorithm theory string-search
php - Is strpos the fastest way to search for a string in a large body of text?

if (strpos(htmlentities($storage->getMessage($i)),'chocolate')) Hi, I'm using gmail oauth access to find specific text strings in …

php string hash string-search
Search for selection in vim

I use vim and vim plugins for visual studio when writing C++. Often, I find myself wanting to search for …

vim viemu string-search
Fastest way to search in a string collection

Problem: I have a text file of around 120,000 users (strings) which I would like to store in a collection and …

c# winforms linq collections string-search