blah blah blah is here! blah blah » Close

0
votes
1 answers

C# Multiline Regex Help

Hi All Thanks in advance for any assistance. I am attempting to parse log file data, everything appeared to be working ok until comparing the result sets with the original logs. I have the following log structure: [code] 07/11 ...

0
votes
1 answers

What is this javascript regular expression doing?

Rick_A
761

Hoping someone could go over what this javascript regex is doing? [code]'(^|\\\\s)'+searchClass+'(\\\\s|$)'[/code]

1
votes
1 answers

C# string operations

Hi I have an sql statement, i would like to return only the values in the last set of parentheses? For example: I have the following SQL: [code]INSERT INTO TableName(Id, Name, Description, Category) VALUES (1, 'Someone', 'Manage ...

1
votes
1 answers

C# E-mail formatting

foamy
2499

Hi all, I'm useless at regex, but for the task I'm currently working on it seems like the correct approach. I have a Windows Service (.NET 2.0) which needs to filter e-mail addresses. It will receive input in a format like these: [co ...

0
votes
1 answers

C# Regex Help

Hello, I have a large string and I need to find all of the matching cases of the string ("First" and "Last" are what I need): [code]class=\"GenericStory_Name\">First Last</a>[/code] I am ...

0
votes
2 answers

A little more regex help

Having a little difficulty with this one... I want to find all references to the literal string, "sFuncName". these are the possible (common) variations in my text... 1. sFuncName\n 2. sFuncName(x,y,z)\n 3. \t\tsFuncNam ...

0
votes
1 answers

Simple Regex not working as expected

I am simply trying to find all instances of a word in a richtextbox.text with the following [code] private void FindAllReferences(RichTextBox rtb, string sText) { MatchCollection mcReferences; mc ...

1
votes
5 answers

Perl RegEx

foamy
2499

Hi all, I need a perl regular expression to format a number. Example input would be 34300. I'd like the output to be 34,300.00. I found this while googling, but it's not quite what I need. [code] s/\G(\d{1,3})(?=(?:\d\d\d)+(?:\ ...

1
votes
1 answers

C# TextBox values to x string array

I have a textbox with the following values : 4,5,6,7,8,9,10,11,12,13,15 I want these values to be split into `x` string arrays with `y` values in each array. For example extract into 3 arrays with 4 numbers in each : int x = 3; str ...

0
votes
1 answers

using vs.net search and replace, can I convert a character to upper case?

Using vs.net built in search and replace functionality, I noticed you can use regular expressions there. What I want to do is search for all occurrences of: [code]#asdf[/code] and make the first character after the pound sign an up ...

0
votes
1 answers

Regex to get all the links on a page

Rick_A
761

I need a regular expression that will return all the links on a html page. Links are like: [code] <a href="http://www.google.com">google</a> [/code] Links may have other attributes on them like class/id's et ...

Feedback