Guest_imported
New member
- Jan 1, 1970
- 0
I use regexpressions in ASP. It's a bit complicated for me and maybe you can help me to find the solution :
I've this expression : "[firstname] [last name]"
and I'd like to get following sub matches :
- "firstname"
- " "
- "last name"
For the moment, I use this pattern :
"\[([^\]]*)\]([^\[]*)"
but I only get "firstname" and " "
I would be thankfull if you find the answer
I've this expression : "[firstname] [last name]"
and I'd like to get following sub matches :
- "firstname"
- " "
- "last name"
For the moment, I use this pattern :
"\[([^\]]*)\]([^\[]*)"
but I only get "firstname" and " "
I would be thankfull if you find the answer