|
|
Browse by Tags
All Tags » string
-
-
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 ...
-
Hello,
I'm working with my site and have a problem hopefully you could help solve.
I'm programming in PHP language. What I have is a string like this:
0001=hello
0002=my name
is tom
0003=i'm from
0004=Poland
What I would like to acomplish is to have an array looking like this:
array[0] = ...
|
|
|