|
|
Browse by Tags
All Tags » string
Showing page 1 of 2 (11 total posts)
-
I have two working expressions. How do I combine the below to
- allow words other than words defined as word_1, word_2, word_3
and
- allow string that does not exceed three repeat characters
Regex #1: \w+\b(?<!word_1|word_2|word_3)
Regex #2: (^((.)(?!\2{2,}))+$
Thanks!
-
Hi All!
I'm new in regular expression.
i have an expression that goes like this: ['string'] OR ['string']...
the first ['string'] must be but the OR and the continue of this expression could be many times.
I need to get the string. without the [' '] - just the STRINGS.
the string can be any string. (special ...
-
1024x768
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
...
-
-
I have a text input field that I want only to accept numbers or the strings "min" and "max"
I am using the javascript replace function and have the code (/[^0-9]/gi,"") that will get rid of all characters that aren't numbers, what do I need to add so that it will still keep the strings min and max? I ...
-
Hi, i got a dillema... for a company i need to make every occurence of it's company name to be in red and bold font.
i have writen a simple function that i can call and filter all text database records
Function companyName(inputText)
If inputText<>"" Then
companyName= ...
-
Hi there,
After hours of searching i found nothing that worked. I've got the following string and i want to match all parts between single quotes. It has to deal with user input so the next example is valid: (the both outer double quotes are to show what the sentence is)
"hello world, this is a 'quoted string' using ...
-
I am trying to match all instances of LINES but not GRIDLINES.
Sounds easy right? Well apparently I'm too green to get it. I have "Teach Yourself Regular Expressions in 10 Minutes" and was able to digest it, I have a Firefox addin named 'Regular Expressions Tester' and an app named 'Expresso' which are ...
-
I ran into an interesting situation where back references overwrite previous changes in a regular expression.
I needed a regular expression that updated a pattern but also checked for something that comes before the pattern. It should leave everything before the pattern as it was before the updates. There can be multiple matches of ...
-
Hi,
My platform is Windows/XP PC running Visual Studio 2005 and programming in VB.net. I am writing a progam as part of my genealogy research which will take a CSV file of birth, marriage and death data gathered by hand and output GEDCOM standard format records for data interchange with other genealogists. The genealogical data is in text form ...
1
|
|
|