jd2007 Posted July 28, 2007 Share Posted July 28, 2007 for e.g. www.doheth.co.uk/music/lyrics.php?s=30346 -...pls help me create regex...there are few other strings which starts with www ad eds with -, is there a way to make with th regex and store them in an array..pls help... Link to comment https://forums.phpfreaks.com/topic/62187-solved-how-do-i-use-regex-to-take-all-strings-which-starts-with-www-ad-eds-with/ Share on other sites More sharing options...
zq29 Posted July 28, 2007 Share Posted July 28, 2007 The following expression should match what you're after: ^www.*-$ Link to comment https://forums.phpfreaks.com/topic/62187-solved-how-do-i-use-regex-to-take-all-strings-which-starts-with-www-ad-eds-with/#findComment-309588 Share on other sites More sharing options...
jd2007 Posted July 29, 2007 Author Share Posted July 29, 2007 thank you so much Link to comment https://forums.phpfreaks.com/topic/62187-solved-how-do-i-use-regex-to-take-all-strings-which-starts-with-www-ad-eds-with/#findComment-309902 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.