|
|
Browse by Tags
All Tags » Regex Code
Showing page 1 of 2 (12 total posts)
-
Write an HTML form with a textarea on it. Write a CGI to accept the input
of this form that capitalizes the first letter of every
word and prints it back to the screen.
The html form i can do and the perl script, but
the regular expression the code to capitalize the first letter of every word
example $value=~ ...
-
Hi,
I need a help on creating regular expression for string length must be 60 and it should not contain \ / and .(dot)
I have two regular expressions for validating separately for above condtion. I need it in single expression.
Expression are [^\\/\.]+$ for checking \ / .(dot)^.{60,60}$ for fixed ...
-
Hi
I am currently running sun java web proxy 4.0.9, which has the ability to filter out undesireable websites using regular expressions.
this has been working fine for us until we needed to add an exception.
we currently use the regex .*://.*\.*mail.*/.* which blocks all websites that contain the word mail, we use this to ...
-
I'm working with PHP on Apache on Windows...
I want to look for a string that looks like in the 4 examples below (it
can either have 1 video, or multiple videos separated by a colon ":").
$text = "{flv=video_a1}";
$text .= "{flv=video_b1:video_b2}";
$text .= ...
-
Hi, i've been searching frenzy for a regex that validates a username that may contain a-z A-Z 0-9 . - and _ in ASP.NET
The catch is that this username is to be part of the url so the username may not contain _.- in the begining of the name or in the end of the name, and _.- may be typed together like e.x cool._steve, greate-_-pete and so ...
-
Hi,
I've got a javascript/regex scenario I was hoping to find a solution to.
Here’s the situation
We have been given the string "The quick brown fox jumped over the lazy sleeping dog."
We want to replace it with "The large yellow tiger jumped over the lazy sleeping cat".
Normally this would ...
-
Hello,
Thanks for all help in advance.
I'm coding with PHP and i need to recognize 2 words and one letter in a middle from input. I mean i have a variable with string and i know what that string must be formated like 2 words and one letter in a middle. "hello8 g mike213" this is correct string. no "hello~8 8 ...
-
Hello, I am using C# in Visual Studio 2008. I have a text file of the entire Bible that I am wanting to either put into a database or write to an XML document. The format of the text is as follows with comments in C# single line comment style to the right of the actual text (example: Genesis //book ...
-
Hi,
I've been working on a custom CMS solution and I'm trying to get generic url matching working in .htaccess.
This is my attempt.. if the file or directory doesn't exist then rewrite
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ...
-
Hello, I'm totally new to using RegEx, but was able to successfully implement some "pretty urls" rewriting (http://www.roscripts.com/Pretty_URLs_-_a_guide_to_URL_rewriting-168.html) using RegEx. But on another section of my website, eh...not so successful.
I've got a section on my site that connects to a database ...
1
|
|
|