|
|
Browse by Tags
All Tags » .NET
Showing page 1 of 4 (34 total posts)
-
Dear colleagues,
I like to parse a text and split it at specific keywords (e.g. k1 or k2). I'll use it in a .NET application like
MatchCollection matches = Regex.Matches (sSrc, sRegEx); but for testing I am using RadSoftware Regex-Designer.
My sSrc is something like:
"k1 blakblak\r\nblakblak k2 blablabla k1 data3 k2 ...
-
Hi Guys,
I am just new to Regular Expressions. I am having problem pulling out the string value between tags.
How can I get the text "Your Payment:" and "300.00"?
I am using ASP.Net 2.0 and I haven't tried using the regex before. What is the correct pattern to apply here?
Thanks
Sample ...
-
Hi,
Can anybody helpme to create a regex that allow number and coma in between
also we must allow only 10 comas in btween the nubmers..
ie. it wil be like 95,5,65,8,.... upto 10 numbers i can enter with coma seperated..
is it possible for that...???
-
Hello Everyone.
I am working on a .NET 3.5 project that needs a regex for date range. I have tried using Expresso and have searched http://regexlib.com/ but have come up empty handed.
the regex needs to be able to accept the following input (yyyy - yyyy) AND (yyyy) can can not accept years earlier than 1900 or later than 3000 (needs ...
-
Has anybody used the regexlib web service. I plan to use it in my .net winform application and am quite clueless abt it. I have written the fllowing code (c#) by trial and error
com.regexlib.Webservices regexService = new ...
-
I am looking for a regular expression which should match the following criteria
1. Input string should not contain <followed by>
2. Input string should not contain white spaces.
Below are the examples for which regex should return true/false (Regex.IsMatch(inputString))
some<testhaspattern>thing - false
s&*<te*&#df> - ...
-
Hi,
I am in need for Regular Expression pattern that could help me parse what I would call tokens. Currently, I am parsing a string character by character and using a scanner approach (Sort of how compiler works). However, I would think a RegExp would perform better.
Here is the scenario: Everything that is used within a “()” ...
-
Hi I need a regular expression for email validation, it should excldue the email addresses with the following special characters.
\|/,;<> and spaces.
The rule for validating the email is : Email address must contain a single @, one or more periods, and any standard characters with the exception of spaces and the ...
-
I new to regex, using PowerShell (.Net).
I try to match strings underlined below in the form of domainname\username:
something domain\user something
something (domain\user) something
domain\user something
something domain\user.
But do not find:
something \\server\share something
something \\server\share\subfolder something
Thanks!
Tibor
-
I have the follwing code in VB.NET: Dim strPhone As String = oRow("phone").ToString.ToLower ' data is like 123-555-0000X81455
If Regex.IsMatch(strPhone.ToLower, "ext.|ext|ex.|ex|x.|x") Then strPhone = Regex.Replace(strPhone.ToLower, "ext.|ext|ex.|ex|x.|x", "A") End IfIt ...
1
|
|
|