No announcements
Found 2568472 threads
-
0 Votes
regex for two characters only
Hello, 1- What is the regex for only two characters ...Answered | 3 Replies | 319 Views | Created by arkiboys - Wednesday, November 15, 2017 1:09 PM | Last reply by Fei Hu - Sunday, November 26, 2017 11:51 AM -
0 Votes
Custom TextBox control. IDE throws an exception for a public variable.
and fires the TextChanged event it provides an alternative /// default event ValueChanged. This is only fired when the data alteration matches the /// partial ...Answered | 3 Replies | 4769 Views | Created by Paulustrious - Tuesday, June 8, 2010 10:02 PM | Last reply by Paulustrious - Sunday, November 21, 2010 9:48 PM -
0 Votes
HELP! VB regex to search for whole word regardless of characters / special characters used in the word
characters in the matched words, just use this regex to replace all the special characters with empty string. [^A-Za-z]We are trying to betterAnswered | 2 Replies | 932 Views | Created by moatak787 - Tuesday, November 4, 2014 5:19 PM | Last reply by Caillen - Wednesday, November 5, 2014 9:46 AM -
0 Votes
regex for string between characters
The regex you want - #(.*)# That doesn't disregard the StartSearch and EndSearch characters in the ...Answered | 3 Replies | 395 Views | Created by Y a h y a - Friday, January 13, 2017 12:48 AM | Last reply by Mr. Monkeyboy - Friday, January 13, 2017 3:41 AM -
0 Votes
Replacing a function solution-wide
: ^\s*Function myfunctionnamehere\(\) AS Integer.*?^\s*End Function For the Regex options, make sure that you specify that the pattern is both ...Answered | 2 Replies | 4379 Views | Created by Marcel du Preez - Friday, April 23, 2010 12:14 PM | Last reply by eryang - Monday, April 26, 2010 3:13 AM -
0 Votes
trouble testing two consecutive characters using regex
your original regex modifiied to ^[A-Z](?=[aeiou]) will obviously match on the capital *H* in the ...Answered | 6 Replies | 5139 Views | Created by elipford - Wednesday, July 18, 2007 8:40 PM | Last reply by nmadd - Friday, July 20, 2007 4:40 PM -
0 Votes
read only two correct characters.
With the scanner I read for "3S20123", the condition says that if in the first two characters it brings "3S" the reading is correct, ...Proposed | 13 Replies | 406 Views | Created by Ronald_11 - Thursday, May 24, 2018 7:22 PM | Last reply by Mr. Monkeyboy - Saturday, May 26, 2018 5:25 PM -
1 Votes
regex remvoe certain characters
What you want to do is match words that are not enclosed within a tag (<...>). You also want to ignore non-word characters (>>). With regex you must be very, very ...Answered | 5 Replies | 5382 Views | Created by StevenIB - Wednesday, April 21, 2010 6:25 AM | Last reply by eryang - Wednesday, April 28, 2010 3:06 AM -
0 Votes
Detecting unmatched characters with Regex
I'm using a Regex to extract information for a string and it works really well. What I need to do in addition is to see if there are any characters in the original string ...Answered | 6 Replies | 8752 Views | Created by wjousts - Tuesday, April 24, 2007 3:15 PM | Last reply by OmegaMan - Wednesday, April 25, 2007 6:04 PM -
0 Votes
Regex - Skip Characters to match
However, some of the lines it searches in Regex has what I can only describe as positioners. These are shown as a question mark, followed by 2 digits, such as ?21 ... -
1 Votes
How to replace string between two characters with Regex?
: MORFOLOGIK_RULE Message: some text..." I want to replace this: "Rule ID: SOME_RULE Message", so I want to change first string to "Sentence 1: some ...Answered | 2 Replies | 3621 Views | Created by Lenkita - Tuesday, April 22, 2014 10:44 AM | Last reply by Lenkita - Tuesday, April 22, 2014 2:37 PM -
0 Votes
Regex for blank spaces only.
I need a Regex expression that will match blank spaces (ASCII 32) only.Answered | 2 Replies | 18278 Views | Created by AlexBB - Vista Ult64 SqlSer64 WinSer64 - Saturday, April 19, 2008 6:59 PM | Last reply by AlexBB - Vista Ult64 SqlSer64 WinSer64 - Saturday, April 19, 2008 10:21 PM -
2 Votes
Regex - only find numbers with no preceding characters
regex pattern so that characters a-z, A-Z that immediately precede the number aren't considered numbers?Answered | 3 Replies | 1079 Views | Created by Jura4936 - Tuesday, December 23, 2014 11:44 AM | Last reply by Jura4936 - Tuesday, December 23, 2014 2:24 PM -
1 Votes
Regex Replace $ and % Characters with ""
Why are you using RE for this? Just use String.Replace or Trim. //If you only want to remove the leading and trailing chars return str.Trim(newAnswered | 3 Replies | 781 Views | Created by TommyBoy21 - Monday, February 22, 2016 2:45 PM | Last reply by TommyBoy21 - Tuesday, February 23, 2016 4:06 AM -
0 Votes
Regex to replace all unsupported characters.
Try the following (I am assuming that you want to replace so that you can count the remaining characters). public Regex MyRegex = new Regex( ...Answered | 3 Replies | 782 Views | Created by Linh Nguyen Duy - Tuesday, February 3, 2015 5:16 PM | Last reply by Linh Nguyen Duy - Wednesday, February 4, 2015 2:01 AM -
1 Votes
get only first two lines from multiline string using regex
Using Regex, why? Regex is for pattern matching. If you want to get specific lines from a multi-line string then simply use String.Split. It is cleaner and ...Discussion | 2 Replies | 2154 Views | Created by Rajni Kaushal - Thursday, March 10, 2016 6:12 AM | Last reply by Viorel_ - Thursday, March 10, 2016 6:11 PM -
2 Votes
C# Metro - Regex - Find text between two separate words/characters
I have a string containing this: type="button" data-video-ids="YrvlVLLabro" ...Answered | 4 Replies | 18756 Views | Created by ImNew54 - Tuesday, February 19, 2013 8:43 PM | Last reply by ImNew54 - Thursday, February 21, 2013 5:57 PM -
0 Votes
StreamReader, Regex and memory
I am using StreamReader's method ReadToEnd() to read an entire file in to a String. I then use a Regex to parse some content from the file. I do this two times for each ...Answered | 5 Replies | 6173 Views | Created by Andreas Asterlund - Wednesday, November 1, 2006 1:06 AM | Last reply by OmegaMan - Wednesday, February 7, 2007 4:28 PM -
0 Votes
Get the allowed characters from Regex Pattern
I don't know that there is a clean answer to the question. For example in the pattern @"\w\s+\d" What would be the allowed characters? It differs based on ...Answered | 4 Replies | 376 Views | Created by KarthikNpm - Wednesday, August 17, 2016 1:01 PM | Last reply by KarthikNpm - Thursday, August 18, 2016 11:10 AM -
1 Votes
Using Regex to replace characters in Powershell
PowerShell - Remove special characters from a string using Regular Expression (Regex) Thanks Best RegardsAnswered | 3 Replies | 3055 Views | Created by Venkatzeus - Friday, April 8, 2016 1:37 PM | Last reply by Jerry Zy - Thursday, April 14, 2016 9:40 AM - Items 1 to 20 of 2568472 Next ›
No announcements