Can some please help me with regularexpression for height in cm ( eg. 170.25)(after dot only 2 character), weight in kg ( eg. 57.750) (after dot only 3 character),both numeric.
What is a regularexpression for strings of 0 and 1 with an even number of zeros and an even number of ones?
I have something like (1*01*01*)*(0*10*10*)*.
Does it look good?
I want to write a regularexpression that will replace the word Paris by a link, for only the word is not ready a part of a link.
Example:
i'm living <a href="Paris" atl="Paris link">in Paris</a>, near Paris <a href="gare">Gare du Nord</a>, i love Paris.
would become
i'm living.........near <a href="">Paris</a>..........i love <a href="">Paris</a>.
I need to find all substrings from a string that starting with a given string following with a left bracket and then any legal literal and then the right bracket. For example, a string is abcd(xyz)efcd(opq), I want to a function that returns "cd(xyz)" and "cd(opq)". I wrote a regularexpression, but it returns only cd( and cd(...
I have text file, like
FILED AS OF DATE: 20090209
DATE AS OF CHANGE: 20090209
I need to find the position using FILED AS OF DATE: and read the date. I know how to do it using python strings. But using a regularexpression seems cooler:)
Btw, how to parse the date?
Thanks!
How to create VB Irregular expression syntax to check the VPparam (IP address validity)
When the last octatat of the IP address is a range between ip's (x-y)
and between each IP we can put the "," separator in order to add another IP
example of VBparam
VBparam=172.17.202.1-20
VBparam=172.17.202.1-10,192.9.200.1-100
VBparam=172.17.202.1-10,192.9.200.1-100,180.1.1.1-20
THX
yael
How to create VB script Irregular expression syntax to check the VPparam (IP address validity) When the last octatat of the IP address is a range between ip's (x-y) and between each IP we can put the "," separator in order to add another IP
example of VBparam
VBparam=172.17.202.1-20
VBparam=172.17.202.1-10,192.9.200.1-100
VBparam=172.17.202.1-10,192.9.200.1-100,180.1.1.1-20
THX yael
<div class="hotelTitleZone">
<span class="componentTitle">
<a href="javascript:;" onclick="javascript:whocares();">Bellagio</a>
</span>
</div>
In above div tag want to get value "Bellagio" using regular expression
I want a Perl regularexpression that will match duplicated words in a string.
Given the following input:
$str = "Thus joyful Troy Troy maintained the the watch of night..."
I would like the following output:
Thus joyful [Troy Troy] maintained [the the] watch of night...
Can someone give me a regularexpression that will verify if all the letters in the word "cat" were also in the word "coating" in the proper sequence? So for the word "coating", the RegEx will test true for "cat" but false for "act".
Hey everyone,
I'm developing a new ASP.NET MVC 2.0 application and wanting to use the new ASP.NET 4 encoding blocks.
My View code contains <%: Model.ActivityName %> however Visual Studio is reporting:
Unexpected toke
at the position of the : (colon). When I run the application I get the following compilation error:
Compiler Error Message: CS1525: Invalid expression term ':'
What am i missing?
Cheers for any help/advice.
hello,
is it, please, possible to use a regularexpression with the php function array_key_exists(); like this for example :
$exp = "my regex";
array_key_exists($exp, $array);
thank you !
how do i execute a foreach lambda expression on ObservableCollection
there is not method of foreach with ObservableCollection although this method exists with List
is there any extension method available?
I'm porting UT3 code to UDK, and I am getting the following compile error with the UDK compiler:
C:\UDK\UDK-2010-03\Development\Src\FixIt\Classes\ZPawn.uc(25) : Error, 'DefaultMesh': Bad command or expression
The ZPawn class extends UTPawn.
Line 25 is the following:
DefaultMesh = SkeletalMesh(DynamicLoadObject(ZBotOwner(Owner).MeshToUse, class'SkeletalMesh'));
Where did DefaultMesh go in UDK?
When I checkout, checkin, rename soemthing in Vs 2008 SP1 while I have the project open in Expression Blend 3, these changes are not updated in Blend until I close and reopen the solution in blend or I try to checkout/checkin an item that is aready checked out. Is this a known bug? And is there a workaround?
I'm having trouble finding a regularexpression that matches the following String.
Korben;http://feeds.feedburner.com/KorbensBlog-UpgradeYourMind?format=xml;1
One problem is escaping the question mark. Java's pattern matcher doesn't seem to accept \? as a valid escape sequence but it also fails to work with the tester at myregexp.com. Here's what I have so far:
([a-zA-Z0-9])+;http://([a-zA-Z0-9./-]+);[0-9]+
Any suggestions?
Our server returns a custom 'X-Execution-Time' HTTP response header that returns in miliseconds the time between the server getting a request and our code returning a page, ie how long our code takes to run. I'm using JMeter to do some testing & I'd like to be able to report on this number of over time. I've setup this regularexpression extractor: X-Execution-Time:\s(\d+) but I don't know how to get JMeter to report on this number per request so i can get a trend over time
Hi,
I need a regularexpression to validate a timestamp of the format, using Javascript:
YYYY/MM/DD HH:MI:SS
I tried cooking up a few, but seems my regex skills fail to cover something or other.
Please give me a reference or way to do it.
P.S. : I mention regex, only as a suggestion. Im using Javascript and welcome any alternative.
I'm getting this error: Data type mismatch in criteira expression when trying to execute this query in access:
select sum(total_sum) from totals_table where tot_date = '3/01/2010' and tot_date < '4/01/2010'
P.S. tot_date is of type Date/Time and tot_sum is of type Number
Hi,
Can anybody help me writting a regularexpression to replace these characters with a empty string. Character list is given below.
public static char[] delimiters = { ' ', '\r', '\n', '?', '!', ';', '.', ',', '`', ':', '(', ')', '{', '}', '[', ']', '|', '\'', '\\', '~', '=', '@', '>', '<', '&', '%', '-', '/', '#' };
Thanks.
Subrat.
Hi All!
I have an expression-- {YYYY}-{MM}
I have a textbox in that i will take input from user.
User must input in above format
for eample, {2010}-{03} or {10}-{3} or {2010}-{3}
How to validate this using Java script
Please help me to solve this.
Thank You
Hi,
I need a regex expression (PCRE) to match a integer number inside a string, being the string like : image89.jpg
I've tried many options without success.
I'm using preg_replace() by the way
My last attempt :
preg_replace('(\d+)', '$1', 'image89.jpg');