Jump to content
Ketarin forum

Quick Reg Expression question


mikeparkie
 Share

Recommended Posts

To answer your question . is a wildcard character in regex. To make your regex treat . as the period symbol (or any special regex character as literal) you need to apply \ before it.

 

Examples

 

\.

\(

\?

\*

 

Regardless there is no real need for you to set version, that page only posts the latest version.

 

.*\.\.([^"']+\.zip)

 

That'll do what you want it to do.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.