in reply to Re: Re: Regex confusion
in thread Regex confusion
Trying to match: client.project.subproject where:
Update:Actually your regex ... works well. Thank you.
Arturo's regex will include both your project and all sub-projects in $2. If that's okay, fine. If not, do it like this:
/([^.]+)\.([^.]+)/
|
|---|