Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

shullinger_nac
Regex to match second word in text string.?
I need to figure out a regex statement to grab the second word in a text string, which would always be at least one sentence, and perhaps several paragraphs.
For example, in this paragraph, I would need the regex to match the word "is" and only match it one time:
'This is a test paragraph for regex. Only the first occurence of "is", is to be matched.'
The regex engine is VBScript_RegExp_55 from VB6.
I could grab it by using the MatchCollection, but I really want to avoid that at all costs (involves db changes, new release, release notes, bug fixes, etc., etc.).
I've gotten close with
^\w+ --- matches first word
(^\w+)(\s\w+) ---- matches first 2 words
(\s)(\w+)\1 --- matches every other word
Any help would be much appreciated.
Thanks.
2 AnswersProgramming & Design1 decade agoWhy won't my Tecumseh 11HP snowblower engine start? Should I rebuild the carb?
Bought it last year. Had some stale gas near the end of the year, but I drained and put in fresh and it ran fine for a couple more storms. I changed the oil, drained the gas, and put it away for summer.
Now first try of the year it won't fire. Cub Cadet SWE528 with Tecumseh OH318SA engine.
I fear it's a carburetor issue. There is a twist, it looks like a mouse family made a nest up under the cover. I'm worried they may have chewed through something.
Things I know so far:
There is spark. The engine will run if I keep giving it starter fluid(I know, bad stuff).
There is no fuel shutoff valve on this particular engine and the gas cap has no effect.
Fuel flow is good up to the carb.
No fuel seems to make it into the carb though.
Primer is not spraying any gas. It does, however, have good pressure at the hose end at the carb. This has me really confused. Doesn't it take the gas from further upstream?
So is it a stuck float valve, or am I missing something?
Thx
3 AnswersMaintenance & Repairs1 decade ago