Browse by Tags
Showing page 1 of 7 (63 total posts)
I'm updating a website.
In the new version the website uses url-friendly urls
so I'm looking for a way to redirect the old urls
is replace by:
In my .htaccess file I have the following code:
I'm looking for a pattern that extracts the attributes inside an html element string
I came up with the following:
/<font\s[^>]*face="(.*?)" size="(.*?)" color="(.*?)"[^>]*>(.*?)<\/font>/si
but what if not all 3 attributes face, font and size are required?
is it possible to ...
I want to change a font element to an XHTML compatible variant.
<font face="arial" size="1"
color="red" >hello world</font>
style='font-family: arial; font-size: 1; color: red;'>hello
- the font attributes can change order
I could really use some expert help. I’ve got this formula that will filter out just screen resolutions for mobile devices within Google Analytics, now I want to build a regex that filters screen resolutions for ranges 600-800 and then another that filers 1024-1600 and another for 1600+ This way it will allow me to group my visitors ...
I'm needing to validate a email address, and website url's for user registration for my site.
Here are the requirements for the Email
1. Email address must be between 9-50 characters long
2. @ must be required
Here is the rest of the requirements:
Email address must begin with alphanumeric characters a-z and 0-9 with ...
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
If inputText<>"" Then
Can anybody helpme to create a regex that allow number and coma in between
also we must allow only 10 comas in btween the nubmers..
ie. it wil be like 95,5,65,8,.... upto 10 numbers i can enter with coma seperated..
is it possible for that...???
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 ...
<meta name="keywords" content="IBM 7976KAG SYSTEM X3400 QC 1.60GHZ 2GB 3X73,sunucular, server, markalı sunucular, markalı server, hp sunucular, hp, ibm, ibm sunucular, ibm server, century server, century sunucular">
<meta name="description" content="Fiyat:1879$+KDV | Kdv Dahil:2.877,95YTL | Havale ile %3 ...
Hi I need a regular expression for email validation, it should excldue the email addresses with the following special characters.
\|/,;<> and spaces.
The rule for validating the email is : Email address must contain a single @, one or more periods, and any standard characters with the exception of spaces and the ...