Top "Match" questions

A programming concept about finding results based on some kind of search.

Regex to match only uppercase "words" with some exceptions

I have technical strings as the following: "The thing P1 must connect to the J236 thing in the Foo position." …

regex match uppercase
Delete rows containing specific strings in R

I would like to exclude lines containing a string "REVERSE", but my lines do not match exactly with the word, …

r string match rows
Count number of occurrences of a pattern in a file (even on same line)

When searching for number of occurrences of a string in a file, I generally use: grep pattern file | wc -l …

search count grep match
Search File And Find Exact Match And Print Line?

I searched around but i couldn't find any post to help me fix this problem, I found similar but i …

python file search match
How to test if a string contains one of the substrings in a list, in pandas?

Is there any function that would be the equivalent of a combination of df.isin() and df[col].str.contains()? …

python string pandas dataframe match
JavaScript - Use variable in string match

I found several similar questions, but it did not help me. So I have this problem: var xxx = "victoria"; var …

javascript variables match
Return positions of a regex match() in Javascript?

Is there a way to retrieve the (starting) character positions inside a string of the results of a regex match() …

javascript regex match string-matching
MySQL SELECT query string matching

Normally, when querying a database with SELECT, its common to want to find the records that match a given search …

sql mysql string match
Javascript + Regex = Nothing to repeat error?

I'm new to Regex and I'm trying to work it into one of my new projects to see if I …

javascript regex match
PHP compare two arrays and get the matched values not the difference

I'm trying to compare two arrays and get only the values that exist on both arrays but, unfortunately, I can't …

php arrays compare match