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,
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 ...
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...
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 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...
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...
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,
I would like to replace the following characters in an input string:
"$'&+,/:;=?@<>#%{}|\^~][`
I'm using ASP.NET and C#
I'm looking for code that looks something like this:
string...
How would I code a regular expression to match a time. The input format is hh:mm. However, the user could enter any of the following as valid:
'09:10'; '9:10' ' 9:10' (leading blank-not likel...
I am using a regex to parse a csv file, and am using this ,(?!(?:[^\",]|[^\"],[^\"])+\")
It works fine except for the case of text enclosed in double quotes ending with a comma, such as [...
Hi ,
I am very poor in writing regular expressions.Can anybody help me in writing a regular expression which accepts only numeric values.
Ex:12345,7890453458
any length
But it should n...
How do I use substitute to replace forward slash (/)
I want to replace:
../../../
with
../../../Co
Thanks
Hi,
The user can able to enter either whole numbers or doubles in textbox. ex: 10, 0.2 ,1.25
How to validate the number using Regular Expressions, so that the function only work for whole nu...
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 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 experts,
I'm programming in PHP and can't figure out how to match words with accented characters (éèë etc)
So in the following example preg_replace should give the same result in both c...
I've been searching through the Regular Expression posts, but have not been able to successfully implement what I want. I want to read though a string consisting of an entire HTML page, and pu...
I'm trying to write a `find` command to locate files/directories within a certain directory matching a certain regular expression. As it is written now, I'm running a simple find, piping over ...
I need some help with my regular expression. I am making a application. It involves an exam setter, specifying certain URL's that are read in by a browser (also part of application). This all ...
I have a working regex validation that tests for a positive integer. I need to change it so that it ignores leading and trailing whitespace.
http://987music.blogspot.com/feeds/posts/default
I have to remove the small image (1x1) in the bottom of every article(item) using regex in yahoo pipes
Hi,
Can someone help me with a Javascript regular expression? I need to match pairs of brackets. For example, it should match "[abc123]", "[123abc]", but not "[abc 123]" in the following s...
Hi, I want to do a special tool for my customers, and this tool in the begginer have to get all url's of first results of google image:
Example:
1- If I search for "sun", the url of google i...
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...
Hi
Cell A1 has text " **1.0 " I want to use this regular expression \*\*\d.\d to remove the **1.0 is there a function that will allow me to do that.
Something like =removematch(A1,\*\*...