The below code is a part of a macro running within Excel 2007. The replace portion is actually replacing my currentname with "\4", literally. I need it to replace it with the regular expressio...
I need to update my regular expression so it has the following:
* Accepts all positive decimal values (currently only accepts values greater and equal to one (1))
* i.e accepts ---> 0....
Hi,
I have a javascript that highlights glossary terms on my page. Everything is working fine except in the case when the glossary term inside a link. ie: <a href="page.aspx">glossary ter...
Hi,
Can anyone of you help me with a regular expression which will not allow certain special characters like ~`@#$ . All others (like all alphanumerics and Chinese and any other language ...
I need a regular expression that matches HTML tags which can contain line breaks / carriage returns. This is easy in Perl or PHP because the dot (any) token matches line breaks, but unfortunat...
Greetings experts!
I am trying to use a "regularExpressionValidator" control on my web form to validate a Textbox Control, what I need is to restrict the user to type in only Numbers and Deci...
I have hundreds of TXT files, in ASCII format, that have a lots of page-breaks that I want to remove or replace.
When I look at it in Windows Notepad, it just looks like a little vertic...
How do I use substitute to replace forward slash (/)
I want to replace:
../../../
with
../../../Co
Thanks
Need a regular expression that I can use with TextPad's "find in files" to identify instances of the & ampersand character between opening and closing <CFQUERY></CFQUERY> tags in a ColdFusion ...
Hello, I want my preg_replace change all (multiple) spaces into one charachter | , EXCEPT those spaces that are inside quotes, but I can't find the right expression.
Some examples:
testA...
Currently, I use the following regex expression "<[^>]*>" to filter out html content from user comments. For example, if the text submitted contains "<script language=javascript>alert('this i...
How can I extract the numbers using regex between '( )' in a string
i.e. "Segment 1A 3b (214)" will return 214
Many thanks.
Hi,
I am working on C# and ASP.Net1.1
I require a reqular expression which can accept any character other than
single quote('), double quote("), @, %,#
Can anyone help me in this
...
I am trying to pull out the value that is contained between the greater than and less than operator but I must use regular expression.
Example <value>
Example below I need to pull lines w...
Hi -
I am using a URL re-writer to transform URLs like "product.aspx?ProductID=100" to "green-widget.aspx". I have no knowledge of regular expressions, and the support documentation for th...
With PHP PCRE, I'm trying to tidy up some TXT files. Many of the lines contain multiple spaces between words, and I need to remove those spaces (replace them with a single space character). T...
I am trying to do something like "deleting all blank lines" or "increasing the line height of a blank line" in a input textfield.
I guess the first task is to capture all the "blank lines" ...
Hi
I'm using this regex but problem is it does not keep white space when invalid characters are removed
Any help changing regex would be appreciated
George
string removeInvalidChars = @"...
I'm trying to do a multiline regex on a file and print out ALL matching entries, however only the first one is being returned.
I'm sure I'm missing something obvious/fundamental.
Here is a...
Experts,
A while back I posted this question:
http://www.experts-exchange.com/Programming/Languages/Q_22100617.html
Now, I need that same regular expression to ignore case. Is there ...
I am trying to do some manual editing to an rtf file, and would like to use regular expressions to accomplish this. What I am needing to do is to locate certain sections of the file. IE:
...
OK, this one is for the Regex masters!!
This question follows on the heals of a question that I previously asked:
http://www.experts-exchange.com/Programming/Languages/Regular_Expressi...
Hi,
I am using Visual Studio 2005 and language C#
I want to parse a file to extract some data using Regular Expression.
I used using System.Text.RegularExpressions;
Please h...
Posts 524
Regular expression for phone numbers [both U.S. and International]
Question Reply Quote Delete Edit
If no + then assume U.S. format and store xxx-xxx-xxxx as the default fo...
I want a regular expression that will select the whole <tr id="tr_1">....</tr>
Any help would be fantastic!