Computing desk | ||
---|---|---|
< March 9 | << Feb | March | Apr >> | March 11 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I'll admit that it's not my strongest skill. :) Anyone know what the find/replace regex would be for this?
[http://www.example.com*]
→ [http://www.example.com*]{{deadlink=date}}
I'm looking for * to match anything, or nothing, so it would catch all possible links, like
[http://www.example.com]
[http://www.example.com Some site]
[http://www.example.com Lookatme!!]
Et cetera. Is this possible? Avicennasis @ 00:14, 4 Adar II 5771 / 10 March 2011 (UTC)
*
stands for "zero or more characters". In regular expressions, .
stands for "one character of any kind", and *
stands for "the previous thing, zero or more times in a row." So what you want is .*
to match anything (including zero characters). Note that you'll have to escape the [
, ]
, and .
, by putting a backslash in front of them. (though you can skip escaping the dot if you're not worried about [http://wwwoexampleocom Some site]
). Paul (Stansifer) 02:12, 10 March 2011 (UTC)[http://www.example.com.*]
→ [http://www.example.com.*]{{deadlink=date}}
\[http://www\.example\.com(.*)\]
→ [http://www.example.com\1]{{deadlink=date}}
(\[http://www\.example\.com.*])
→ \1{{deadlink=date}}
\1
copies the first (leftmost) captured sequence. You also need a backslash before [
since it has a special meaning otherwise, and I backslashed the dots as well for robustness. You don't need those backslashes on the right hand side because those characters have no special meaning there. Be warned that there are variations in this quasi-standard regex syntax, and one of the things that often varies is the \1
. -- BenRG (talk) 20:42, 10 March 2011 (UTC)
Why were some phone companies promising and delivering 2.2 upgrades long after 2.3 came out? Also, many new phones were being released with 2.2 after 2.3 was available? — Preceding unsigned comment added by Roberto75780 (talk • contribs) 05:40, 10 March 2011 (UTC)
Why do just about all of the manufacturers making Android powered phones bloat there phones with UI packs that replace built in functionality. Isn't Android a complete software package that doesnt need anything except the drivers added to it? Some, like HTC's are so overwhelming the phone doesnt even resemble the stock android at all. whats the point? it just slows down updates and costs tons to develop. — Preceding unsigned comment added by Roberto75780 (talk • contribs) 05:42, 10 March 2011 (UTC) \
Hi. Would someone be willing to take a look at this web page from the University of Haifa? It's in English, but I'm running Linux and my penguins can't figure out what Firefox plugin in needed to play the video embedded on the page. When I click on the help, it's in Hebrew, and mine's a little rusty ;-) I'd be grateful for the help; I just want to note whatever plugin is necessary when I include it as an external link in an article. – OhioStandard (talk) 12:55, 10 March 2011 (UTC)
I have been trying to connect this mobile to my laptop thro' USB. But "the phone is not detected" is the mess I receive. But thro the same port the phone gets charged. The company and the dealer did not help. I found many users have the same problem. Can anybody suggest a remedy? —Preceding unsigned comment added by 59.92.30.56 (talk) 14:12, 10 March 2011 (UTC)
Intel(R) Pentium(R) D CPU 2.80GHz
1.2 GB Ram
Intel(R) 82865G Graphics Controller
Video ram: 96
3D : yes
Pixel shader NO
RahulText me 17:28, 10 March 2011 (UTC)
hyw od omes eoplep erersev het ettlrse fo verey yllsblea? Hist rutyl akesm on enses hyw eoplep od hist? —Preceding unsigned comment added by 64.90.250.34 (talk) 17:44, 10 March 2011 (UTC)
more info here: [1] SemanticMantis (talk) 18:53, 10 March 2011 (UTC)Arocdnicg to rsceearch at Cmabrigde Uinervtisy, it deosn’t mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer are in the rghit pcale. The rset can be a toatl mses and you can sitll raed it wouthit pobelrm. Tihs is buseace the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
I found a way to modify the context key string of CascadingDropDown
in JavaScript, but now I'm facing a different problem. The actual context in the context key depends on text entered by the user, which isn't known yet when the page first loads. It was pretty easy to put the input into the context key of the CascadingDropDown
when it has been entered, but making the CascadingDropDown
act on it is more difficult. Changing the selection of the CascadingDropDown
's parent dropdown works, but I would want to avoid that. The only way seems to be to call the CascadingDropDown
's _onParentChange()
function directly, but having looked at its source code, it appears that the function intentionally aborts if it finds that the parent dropdown hasn't really changed. It appears that the only way is to modify the actual CascadingDropDown
source code so that it no longer does this. This poses two issues: (1) What if we, or our customers, suddenly decide to upgrade to a newer version of the AJAX Control Toolkit? This would break the hack. (2) Am I even allowed to do this, or does Microsoft have some nasty licence restriction that will get me in trouble for this? JIP | Talk 18:24, 10 March 2011 (UTC)
I want to print off this PDF http://www.re-bol.com/rebol.pdf in sections. But although the black text prints OK, the blue text prints too pale to read. Is there any way I could change it all to black text please, or otherwise make the blue text print darker? I am using Windows XP. Thanks 92.28.241.148 (talk) 21:24, 10 March 2011 (UTC)
Sorry I forgot to add that my printer is already set to do b&w; the colour cartridge ran out long ago. Is there any way of changing the whole PDF to black and white, for example? Thanks 92.24.186.163 (talk) 12:10, 11 March 2011 (UTC)
I've discovered that the problem was my printer setting having somehow changed itself from the default of printing in b&w, to printing in colour. Thanks 92.24.186.163 (talk) 13:58, 11 March 2011 (UTC)