I have a text file in which is present the string  orderId=123456   The string can change but the format should always be orderId=six numbers.  I would like to extract the six numbers I tryied with the following code   orderId=[0-9]{6}   but i do not know how to remove orderId= could you please help?    UPDATE  Below an example of a string  &amp;quot;display:none;&amp;quot; name=&amp;quot;LanguageSelectionForm&amp;quot; action=&amp;quot;http://pippo.com/webapp/wcs/stores/servlet/CabinSelectionView?packageType=onlyCruise&amp;amp;amp;recommendedMaskCommission=false&amp;amp;amp;catalogId=10001&amp;amp;amp;catEntryId=360579&amp;amp;amp;orderId=351026&amp;amp;amp;storeId=10251&amp;quot; method=&amp;quot;post&amp;quot; id=&amp;quot;LanguageSelectionForm&amp;quot;&amp;gt;&amp;#xd;   i'm using Jmeter and this response comes from http response
For example, in this text:     Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu tellus vel nunc pretium lacinia. Proin sed lorem. Cras sed ipsum. Nunc a libero quis risus sollicitudin imperdiet.   I want to match the word after 'ipsum'.
How to format date and time in Android? How to format correctly according to the device configuration date and time when having a year, month, day, hour and minute? What should I do before dual-booting Windows 7 and Debian on EFI? What is the logic behind the timer of the Sojourner Badge? Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) versions of needed packages provide all the functionality of their older versions.  If I use dpkg -i --force-depends-version to install dependent packages everything works fine, I've never seen a problem.  Instead of manually downloading and installing every package, can I just make the system pretend there is a specific package version installed when there is a newer? Or is there a --force-depends-version key equivalent for apt-get? Is there a way to call process builder from Apex? I have noticed that the confidence interval for predicted values in an linear regression tends to be narrow around the mean of the predictor and fat around the minimum and maximum values of the predictor. This can be seen in plots of these 4 linear regressions:    I initially thought this was because most values of the predictors were concentrated around the mean of the predictor. However, I then noticed that the narrow middle of the confidence interval would occur even if many values of were concentrated around the extremes of the predictor, as in the bottom left linear regression, which lots of values of the predictor are concentrated around the minimum of the predictor.  is anyone able to explain why confidence intervals for the predicted values in an linear regression tend to be narrow in the middle and fat at the extremes? Why can only some child meta sites host chat rooms? Is there any way to bypass this restriction? When I try to create a new  room from , and type "meta" in the "select a site" box, I see only 8 child meta sites. Any specific reason for this?  Update:  I just noted  (pointed out by ). The conclusion of the experiment there was:        This experiment suggests that only the meta sites, for which at least   one room already exists, are offered.   ...the distinction between beta sites and graduated sites is not sufficient to explain this.      So, if I'm reading it correctly, it is currently impossible to create a room hosted on those child metas which do not already have an existing meta room (smells like a bug!)? Or is there a way to bypass this restriction somehow?  I can think of several legitimate reasons as to why a site may choose to keep their main chat rooms and meta chat rooms separate. Killing off that freedom of choice, and that too non-uniformly, isn't a good idea. If this really is a  rather than  (for a good cause), then it should be fixed! Complement property of DES I'm supposed to show the complement property of DES ($c=DES(p,k) =&gt; \bar c = DES(\bar p, \bar k)$).  My idea was to just start the algorithm with $\bar p$ and see what happens (ignoring the initial permutation for now). I looked at it step by step and got the the point where $R1 = \bar L1 \oplus f(\bar k1, \bar R0)$. So I figured I had to show that $f(\bar k1, \bar R0) = \bar f(k1,R0)$. Is that even right so far? Because I got stuck at the point where the S-Boxes are used. Why would $S(\bar x) = \bar S(x)$?  Somewhere else I read something about a formal prove using induction, but I don't know how I would do that either... How can I change my VPN connection settings in Windows 7 from the command line?  I know how to do it using the GUI but I really need to do it from the console.  I need to change the user, password and internet address and then restart the connection. It doesn't matter if I have to install some third-party software in order to do this (from the command line). What is the appropriate public key encryption for secure coin flipping? I quote Bobby's question here since I encountered the same one...    Consider the following protocol for two parties to flip a fair coin.   Trusted party $T$ publishes her public key $K_{pub}$ $A$ chooses a random bit $b_A$, encrypts it under $K_{pub}$, and announces the ciphertext $c_A$ to $B$ and $T$ $B$ does the same and announces a ciphertext $c_B$ (where $c_B \neq c_A$) $T$ decrypts $c_A$ and $c_B$, and announces the results. Both parties $XOR$ the results to obtain the random value $b_A\oplus b_B$.   It was shown that  was not appropriate for the encryption scheme.  seems to fail to work also. Since $c_A=m^e \mod N$. Then if $m=1$, $c=1$. If $B$ receives $A$'s cipher he will know the exact value of $m$.   So what should the appropriate encryption scheme be? Does there exist an holomorphic function such that $|f(z)|\geq \frac{1}{\sqrt{|z|}}$? I have some trouble solving this problem: Does there exist a holomorphic function $f$ on $\mathbb C\setminus \{0\}$ such that $$|f(z)|\geq \frac{1}{\sqrt{|z|}}$$ for all $z\in\mathbb C \setminus \{0\}$? I don't know where to start. My intuition is that you would get a problem with the singularity near $0$, but I am not sure how to prove it. Any help would be appreciated! Thanks! Changing subject and verb positions in statements and questions We always change subject and verb positions in whenever we want to ask a question such as "What is your name?". But when it comes to statements like the following, which form is correct?        I don't understand what are you talking about.   I don't understand what you are talking about.      Another example        Do you know what time is it?   Do you know what time it is?      Another example        Do you care how do I feel about this?   Do you care how I feel about this? How does a graduate program's admissions committee operate? How does a typical graduate program's admissions committee operate? (In the US --- I understand that in Europe admissions are often structured differently.)  My mental model at the moment is several professors sitting in a conference room with a stack of printed applications and a few piles: accept, maybe, and reject. Three or so professors will read an application and then make a decision. If the volume of applications is large enough, multiple meetings might be required. This is purely my imagination --- I don't know how accurate this model is.  Of course, I'm sure that how admissions are handled depends greatly on the school, program, and department. I'm interested in a few data points to get a rough idea of what the average is.  A few more specific related questions:   How much time does a typical committee spend on each application? I suspect there's a distribution. Obviously unqualified applicants will probably have their applications tossed into the reject pile pretty quickly. Qualified applicants' applications might receive more attention. Do admissions committees look online for more information about an applicant? I've read some professors (in CS --- not my field) will look at a student's research/project website, but I have no idea how common this is. Creating Text Elements using ArcPy? Creating a copy of primary database and attaching the copy database in the same sql instance I just got into a project in which we have only one SQL Server 2012 copy. We have 12 databases attached to the primary instance of SQL Server 2012.  As I don't have SQL Server 2012 or supporting OS, I have to depend on the primary instance of SQL Server 2012.  I am not sure whether it is good to create copy/clone of all 12 databases and attach it to same instance and work on the copy for data manipulation and query testing purpose.  Based on Kin's query  SELECT    SERVERPROPERTY ('MachineName') AS PhysicalMachineName,    SERVERPROPERTY ('ServerName') AS SQLServerName,    SERVERPROPERTY ('Edition') AS ServerEdition,    CAST(SUBSTRING(@@Version,charindex('SQL',@@version, 1),15) AS VARCHAR(255)) +  ' + '         + CAST (SERVERPROPERTY ('productlevel')AS VARCHAR (50)) + ' + (Build'        + CAST (SERVERPROPERTY ('ProductVersion') AS VARCHAR (50)) +')' AS ProductVersion,     RIGHT(@@version, (Len(@@Version)-charindex('Windows',@@version, 1))+1) AS [O.S.],  SERVERPROPERTY ('Collation') AS Collation   Following is the output. I ignored PhysicalMachineName and SQLServerName.  ServerEdition : Business Intelligence Edition (64-bit) ProductVersion : SQL Server 2012 + RTM + (Build11.0.2100.60) O.S.           : Windows NT 6.1 &lt;X64&gt; (Build 7601: Service Pack 1)  Collation      : SQL_Latin1_General_CP1_CI_AS Looks like there is something wrong with reputation calculation:        +2*5 -6*2 = -2...   why there is +6 in reputation popup?  As @Catija said in comment calculation is OK in the profile:        Perhaps the issue is in the top-bar. Please add the ability to fold blocks of code in questions and answers It would be great to have the option to fold code snippets, entire questions and answer posts on a user basis and allow defining some generic foldable regions within the question/answer editor.  Non generic folding info could be stored in cookies perhaps to move the storage/processing requirement to the client side.  Definable folding can take any free and safe HTML tag or other multi character trick (&lt;>Fold this&lt;>) How to migrate from test environment to production environment? The migration is from the local environment to the production environment. The production environment has run some time and created a lot of articles.   In order to add new things to my site, I added a custom theme and installed CCK, Views and other modules in my local test environment. Now that the local test environment is finished, how do I migrate it to the production environment, without destroying the content of its database? What is that component from the ADP5091 Schematic? I am looking for an explanation what that component does inside of that circuit.  It can be found on page 3 of the Datasheet of ADP5091:   It would help me out a lot. Thank you in advance! How do you make a torus 'telescope' open? So I have a torus, and I need it to "telescope" open -- kind of like Pacman's death animation, but with a torus instead of a sphere.  I'm very new to 3D modeling/animating so I really have no clue how to tackle this problem.  Any advice to help me get pointed in the right direction would be most appreciated :)