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 Quote 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.*/ Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/233840-simple-reg/#findComment-1202149 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.