I have strings that contain the url of an yahoo group and it may appear in any of the following patterns:
- Code: Select all
it.groups.yahoo.com/group/batmaras/links/
it.groups.yahoo.com/group/batmaras/links
it.groups.yahoo.com/group/batmaras/
it.groups.yahoo.com/group/batmaras
- Code: Select all
it.groups.yahoo.com/group/batmaras
I want to remove anything after the "batmaras" part.
this is what I tried and is not working for me:
- Code: Select all
(it\.groups\.yahoo\.com\/group\/.*?)\/?