How can I write the regexp to match multiple words in random order?
For example, let's assume the following lines:
Dave Imma Car Pom Dive
Dive Dome Dare
Imma Car Ryan
Pyro Dave Imma Dive
Lunar Happy Dave
I want to search the string for the one matching "Dave" "Imma" and "Dive", expecting the 1st and 4th line. Is this possible?
Is there a jQuery plug-in clearing house or repository? How do you find the functionality you are looking for? My search in particular is to display events on a timeline and to do faceted searching, but I get no where from the clutter that is returned by my searches.
I jave a 2D array like this, just like a matrix:
{{1, 2, 4, 5, 3, 6},
{8, 3, 4, 4, 5, 2},
{8, 3, 4, 2, 6, 2},
//code skips... ...
}
I want to get all the "4" position, instead of searching the array one by way, and return the position, how can I search it faster / more efficient? thz in advance.
I've done plenty of ASP.NET and PHP development, but I'm less familiar with how to track this sort of thing down in CF. My naive first angle of attack was to search for any reference to Google in any of the source code. No luck.
I'm running the site on IIS7.
Does google offer a way to programmatically see their search engine results for a certain query?
I want to build a tracking application so that a user can see what rank on the google results their website is for certain keywords.
Hi, I have started using the DataTables plugin (v1.6.2) for jQuery(v1.4.2), and I would like to ask you if you know a settings or a plugin that allow me to highlight the text used in search textbox on the filtered rows.
Thank you in advance
Search for good JAVA lib for playing with POST-GET requests - Is there any such lib or how to play with POST - GETS from pure JAVA? How to create costume headers and so on.
hi. i have 2 tables:
tags (id_tag,name)
news (id,title,data,tags)
The field newstags is a varchar(255). Im planning to put data like this in that field: "1,7,34"
That means that a particular row in news is linked to tags 1, 7 and 34 from the tags table.
Then, how can i search for ALL news records that have the 34 value (among others) in the tags field?
Is there a better way to do this?
I am looking for an alternative to acts_as_solr or thinkingsphinx for fulltext search in my Rails app. Came across searchlogic. Does it support indexing? I am planning to host my app on heroku and I want an alternative because heroku charges for Websolr. I am aware of the alternative way of using texticle or acts_as_tsearch but i want to use searchlogic for its features.
Given the following query:
(field:value1 OR field:value2 OR field:value3 OR ... OR field:value50)
Can this be broken down into something less verbose? Basically I have hundreds of category IDs, and I need to search for items under large groups of category IDs (20-50 at a time). In MySQL, I'd just use field IN(value1, value2, value3) rather than (field = value1 OR field = value2 etc...).
Is there a simpler way for Solr/Lucene?
Here's the deal:
Is there a way to search for an input name or type witch is not precise and fill it?
For example, I want to fill any input with the name email with my email, but I maybe have some inputs named email-123, emailemail, emails etc... Is there a way to do something like * email * ?
And how can I click on a link verifying some text that could be on the link, or above the link, or close, or at class etc ?
ps: I'm using selenium ide with firefox
i need to update only title tag of my website having around 3000 web pages.
i have to replace » with Dash if it is present only in title tag.
Please help if there is any way in visual studio 2008 to find a Standard HTML (DOM) Tag.
i've done this using dreamweaver Advance text search. but on development machine, only visual studio 2008 is available.
For Binary tree: You no need to consider tree node values, I am interested about different tree topologies with 'N' nodes.
For Binary Search Tree: We obviously consider tree node values.
In HTML5 there is a new input type, 'search'.
On most browser it's just remain to a simple 'text' input, but for webkit based browsers, it adds a little cross to reset the input.
I'd like to be able to handle this, is there an event for that ?
I'm tossing around a few ideas for travel search engines and I'm wondering how these sites get their source data. Do they scrape all the content from airline homepages? This seems like an enormous job given the number of airlines etc out there.
Is there some API or web service standard that every airline conforms too?
Am I going to have to negotiate access to the data APIs for every airline I wish to index?
In Eclipse (and Flash/Flex Builder) you get the option with Ctrl+Shift+F to do a file search and look for a regular expression. Would be a real handy thing to know.
I want to find the word negate if it appears in a Flex/java comment like the following:
// It was negated because
or
/*
The negate option was....
*/
or
/**
* We have to negate the value
*/
Any ideas? Will test them out at http://www.regexplanet.com/simple/index.html
I'm parsing some code and want to match the doxygen comments before a function. However, because I want to match for a specific function name, getting only the immediately previous comment is giving me problems.
Is there a way to search backward through a string using the Python Regex library?
Is there a better (easier) approach that I'm missing?
Sorry if the question is stupid but I'm newbie to MySQL and got stuck with this.
Let's suppose I have the following table in MySQL:
City.........Country.....Restaurants
Rome......Italy.............3032
Paris.......France........5220
I want to search for the city "Paris" and update the field "Restaurants" (replace 5220 with 5300).
What would be the right MySQL query?
Thanks in advance!
I need a macro to do this please - any know where i can find one? Find a column with specified text and then search rows for zero enries and delete whole row if zero found
Im trying to think of the best way to handle real time search for a website. The only solution I can come up with is to keep checking the server every few seconds for something new in the database, but that does not seem very practical to me.
If I have a Client domain class, and that Client hasMany Courses. How do I find the course I'm looking for? For instance:
class Client {
String name
static hasMany = [courses:Course]
}
class Course {
String name
static belongsTo = [client:Client]
}
def client = Client.get(1)
I want to "find" or "search" within that courses relationship. Maybe something like:
client.courses.find(name:'Whatever')
Is there any way to do this with Grails?