ballouta Posted April 15, 2011 Share Posted April 15, 2011 Hello what is the regular expressions that match any occurrence of the word Javascript in a text string? is this correct? /^.JavaScript.$/ thanks Link to comment https://forums.phpfreaks.com/topic/233840-simple-reg/ Share on other sites More sharing options...
Maq Posted April 15, 2011 Share Posted April 15, 2011 No, I believe it would be: /.*JavaScript.*/ Link to comment https://forums.phpfreaks.com/topic/233840-simple-reg/#findComment-1202142 Share on other sites More sharing options...
ballouta Posted April 15, 2011 Author Share Posted April 15, 2011 Thank you Link to comment https://forums.phpfreaks.com/topic/233840-simple-reg/#findComment-1202149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.