I am up against a MS Word text formatting problem and wondered if there were any Regular Expression geeks who also use MS Word out there (unlikely, I know...)
Friends i got quite some success but at the replace through an undefined error: here is my new code: var avidno = \'(800)123 1234\';
I know I\'ve seen this done a lot in places, but I need something a little more different than the norm. Sadly When I search this anywhere it gets buried in posts about just making the link into an ht
The following attempt to replace whitespaces with hyphens works in Firefox but not IE: metatext = metatext.replace(/[\\s]/g,\"-\");
I have a text file that has a lot of lines and it is laid out like zzzzz | id@host.tld | yyyyy | id@host.tld |
I have a text file I\'m trying to process with vbscript, it looks like this: 111 ,,,Yes,Yes 222 ,,,Yes,Yes
I\'m currently facing a (little) blocking issue. I\'d like to replace a substring by one another using regula开发者_运维问答r expression. But here is the trick : I suck at regex.
Say I have this for example: $(function() { var seconds = 142.097019375; seconds = seconds.replace(/\\.[0-9]*/, \'\');
I am trying to import a csv file into mysql, and I need to convert it into a proper format before importing.
I have a large text file with a lot of \\n that I need to replace with开发者_如何学JAVA \\r\\n. With small text files, I was using the ReadToEnd method to get the file as a string and then use the Rep