I have predefined an array:
$tags = array('PHP', 'Webdesign', 'Wordpress', 'Drupal', 'SQL');
Now I am inputting a value into a text area:
$text = 'Working With Wordpress Shortcodes and doing some NoSQL and SQL';
How can I compare the string value with the predefined array?
The desired result I want based on the above is 'Wordpress' and 'SQL'
Can I do it in PHP and JQuery?
Also, if it will contain a regular expression like
Working With Wordpress; Shortcodes: and doing some NoSQL and ""SQL
Then what to do?