T
Trespasser
Hi,
I can appreciate what a wonderfully powerful tool regular expressions are,
but I am still learning and seem to need a little help.
I have an example of a regular expression for an Apache server mod_rewrite
module rewrite trigger condition.
^www.\.[^.]+\.domain\.com$
As far as I can gather this is supposed to match www.username.domain.com,
where 'username' could be any system user's username or other alphanumeric
character sequence.
Can anyone please tell me how I can modify this type of regular expression
as follows? I want the rule to match for sequences like username.domain.com
and otherusername.domain.com, but specifically not to match for
www.domain.com.
I would so appreciate it if somebody could please lend me some of their
valuable expertise to help solve my dilemma.
Regards,
Tressie.
I can appreciate what a wonderfully powerful tool regular expressions are,
but I am still learning and seem to need a little help.
I have an example of a regular expression for an Apache server mod_rewrite
module rewrite trigger condition.
^www.\.[^.]+\.domain\.com$
As far as I can gather this is supposed to match www.username.domain.com,
where 'username' could be any system user's username or other alphanumeric
character sequence.
Can anyone please tell me how I can modify this type of regular expression
as follows? I want the rule to match for sequences like username.domain.com
and otherusername.domain.com, but specifically not to match for
www.domain.com.
I would so appreciate it if somebody could please lend me some of their
valuable expertise to help solve my dilemma.
Regards,
Tressie.