No announcements
Found 2835751 threads
-
0 Votes
Split a string matching the following pattern
Ok I managed to match something with the following pattern : @"RFF\+\w{3}:" but now the question is how can I ...Answered | 2 Replies | 4515 Views | Created by Shifusan - Wednesday, March 30, 2011 8:08 AM | Last reply by Derek Smyth - Wednesday, March 30, 2011 10:23 AM -
0 Votes
Extracting a the matched pattern for a string
HI, It may be that the second Regex should also be case-insensitive.Answered | 2 Replies | 4509 Views | Created by Bulldog61 - Saturday, August 16, 2008 8:31 PM | Last reply by Bulldog61 - Sunday, August 17, 2008 11:05 AM -
2 Votes
How to split string against multiple string patterns
You can use the '|' as an 'or' operator, but don't forget to escape special characters: string[] arr = Regex.Split(value, ...Answered | 2 Replies | 408 Views | Created by How to remove xml namespace prefixes - Tuesday, June 12, 2018 10:45 AM | Last reply by Wizend - Tuesday, June 12, 2018 12:13 PM -
1 Votes
Match pattern and replace in string
static List<string> DoWork(List<string> list) { List<string> result = new ...Answered | 4 Replies | 640 Views | Created by SA260884 - Sunday, December 22, 2019 10:56 PM | Last reply by Jack J Jun - Tuesday, January 7, 2020 9:06 AM -
0 Votes
How to split string exactly with pattern matching case
That makes sense, but how will you know what to exclude and what to include?Answered | 4 Replies | 466 Views | Created by How to remove xml namespace prefixes - Thursday, July 19, 2018 2:05 PM | Last reply by Ethan Strauss - Friday, July 20, 2018 2:55 PM -
0 Votes
Need help to match pattern
Hi, I would prefer the pattern (?Answered | 11 Replies | 4694 Views | Created by Shifusan - Thursday, March 31, 2011 7:38 AM | Last reply by Derek Smyth - Thursday, March 31, 2011 10:30 AM -
0 Votes
How to split string exactly with pattern matching case
If you don't have a pattern that matches what you want to remove, you are out of luck.Answered | 4 Replies | 51 Views | Created by Anonymous - Thursday, July 19, 2018 2:01 PM | Last reply by Anonymous - Monday, July 23, 2018 7:00 AM -
14 Votes
Split a camel case string
use string to concatinate the charecters else use string builder.Answered | 7 Replies | 24048 Views | Created by Ryan_2000 - Thursday, May 14, 2009 6:07 AM | Last reply by Ryan_2000 - Monday, May 18, 2009 2:55 AM -
0 Votes
pattern matching
Hi Pieter, i need a generic syntax for above example.means string strtext="Len(text) abc.string"; patterns : ...Answered | 3 Replies | 3025 Views | Created by Adarsha Nadig S - Wednesday, November 21, 2012 1:44 PM | Last reply by Pieter Geerkens - Wednesday, November 21, 2012 2:25 PM -
8 Votes
Splitting a string to get valid data
Regex is your friend, by setting up a pattern and extracting the matches and their values one can do multitude of things with textual data.Answered | 5 Replies | 3070 Views | Created by Amare1982 - Monday, May 4, 2009 2:38 PM | Last reply by OmegaMan - Monday, May 4, 2009 2:54 PM -
2 Votes
Split String on underscore
If they are not exactly as you where expected then provide more requirements for what you want the output to be and more possible inputs.Answered | 6 Replies | 9319 Views | Created by s_mehdi76 - Saturday, October 30, 2010 1:17 AM | Last reply by Rodney Foley - Wednesday, November 3, 2010 5:19 PM -
1 Votes
string split
Try this Regex pattern, (Note the three tests run) string pattern = @"(?Answered | 15 Replies | 3298 Views | Created by Meidi - Wednesday, February 9, 2011 12:59 AM | Last reply by Paul Zhou - Friday, February 18, 2011 5:41 AM -
0 Votes
Conditional Split Case Statement Problems??????
I wouldn't use Conditional Split for this.Answered | 4 Replies | 3918 Views | Created by soldierfc - Tuesday, February 19, 2013 9:48 PM | Last reply by ArthurZ - Wednesday, February 20, 2013 3:47 PM -
1 Votes
Split a string
How do I split a string by " - ".Answered | 2 Replies | 2879 Views | Created by OrionWalli - Wednesday, July 18, 2012 7:31 AM | Last reply by Stephan T. Lavavej - MSFT - Wednesday, July 18, 2012 11:04 PM -
0 Votes
How to split string with ","
That is, your field-delimiter is a comma, but that character can be contained within the fields themselves, hence the need for a text-qualifier (a double quote in this case).Answered | 3 Replies | 7221 Views | Created by GaiusBaltar - Wednesday, March 10, 2010 9:40 AM | Last reply by Olaf Rabbachin - Wednesday, March 10, 2010 12:04 PM -
1 Votes
How to split a big string into different strings ?
and how could i use a newline?Answered | 15 Replies | 3210 Views | Created by Evert7 - Tuesday, July 6, 2010 2:23 PM | Last reply by Evert7 - Wednesday, July 7, 2010 4:35 PM -
1 Votes
Split string
matching something along the lines of: (\s\S*=\S*\s)|(\s\S*=".Answered | 9 Replies | 4152 Views | Created by soag - Wednesday, July 28, 2010 10:39 AM | Last reply by Larcolais Gong - Thursday, July 29, 2010 7:36 AM -
4 Votes
Pattern matching and static members
You need the Literal attribute http://msdn.microsoft.com/en-us/library/ee353581.aspx in order to use a constant literal as a value to pattern ...Answered | 2 Replies | 1805 Views | Created by rs44 - Monday, February 6, 2012 6:04 PM | Last reply by rs44 - Friday, February 10, 2012 1:26 PM -
2 Votes
Splitting a String in Time Format
This solves all you test cases, excepts ":" or ".Answered | 8 Replies | 1030 Views | Created by dillu - Friday, April 5, 2013 10:13 AM | Last reply by dillu - Friday, April 5, 2013 12:21 PM -
0 Votes
Regex Match Pattern number range?
I'm trying to learn this my self so can you break down: string pattern = @"((\d+)\s*,\s*){6}(\d+)... like what does {6} mean?Answered | 4 Replies | 1222 Views | Created by superlurker - Friday, October 21, 2016 2:22 AM | Last reply by superlurker - Monday, October 24, 2016 9:09 PM - Items 1 to 20 of 2835751 Next ›
No announcements