|
|
Browse by Tags
All Tags » C#
Showing page 1 of 6 (57 total posts)
-
Hello.
I did not manage to find appropriate script for my need in this fantastic forum, so I hope someone could help me with this case.
(I believe this is quite trivial for one who really knows regex (I have just used some well known scripts in my code and not able quickly create this one).)
Here is information of what I have got so far ...
-
I'm a newbee and hope someone will take pity on me. In Visual Studio 2008, I need to find all line that have the whole word FROM and does NOT contain the string (WITH (NOLOCK)). I'd settle for it not containing the work WITH. All words are case insensitive.
Select * FROM tblRequests
Select * from tblRequests WITH ...
-
I need help creating a regular expression for a user input on an asp.net page with c# code behind.
I have a textbox where a user can enter a directory path; which i then use to save certain files at. they can enter a local directory, a directory on network, server or an ftp site. so for example these are valid ...
-
Hi,
I am pretty clueless about regex but I need to match any text between <template></template> tags using C# regex. Only thing I can guarantee is that there will not be any more occurrence of these tags.
-
Hi all,
I have some problem with Regular Expressions and .NET (C#)
I like to find specific filenames and then remove the prefix.
Therefore I have two regular expressions. One for finding only the correct files and the other one for the replacment.
I like to find only files, that start with exactly 5 digits [1-9] followed by a "_". ...
-
Hi all
i had posted my query in msdn,some1 suggested that my problem cld b solved better here in this forum.
I ve a text box,n there are certain rules which i need to follow while entering data into the textbox
Rules
1.Only alphabets accepted EX:Howards
2. Alphabets along with numbers accepted EX:Howards22
3.Alphabets along with spl ...
-
Hi, I have following example:
C:\C4\trunk\Catalog\bvh\dance\dance2.bvh
and I need to extract last folder name (dance). The variable parts are - last folder name and file name, so text can be
C:\C4\trunk\Catalog\bvh\sit\sit_female.bvh (result should be "sit")
C:\C4\trunk\Catalog\bvh\sit\sit_male.bvh (result should be ...
-
Hi
Im am writing a function in SQL Server 2005 using a simple C# assembly that implements C# regex functions. I found the assembly on codeproject.
The data I am trying to modify contains numbering, that was entered by a 5 year old probably.
Here is 5 of the problem data on the LEFT and data I need to return on the RIGHT
The word ...
-
Hello i nead help whit this Regex how do i change it to only get .com right now its get all crap :)
Code:
Regex regexExtractURLs = new Regex(
"(?<base><base\\s?[^>]*\\shref\\s*=\\s*(?:(?:[\\\"\\\'](?<url>[^\\\"\\\']*)[\\\"\\\'])|(?<url>[^\\s>]*))[^>]*[>])|" ...
-
Hi all, I amtrying to create an email parser in C#. I want to extract mail body from the entire raw email string. To separate message footer from message body, I inserted a GUID string in between them. So a sample email may like ...
1 ...
|
|
|