answersLogoWhite

0

Yes, by using the preg_match() function

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

How can you use the OR condition in PHP validation in regular expressions?

You use instead of OR


How do you use regular expressions in PHP?

Use the preg functions (ereg functions are deprecated) Wiki regex to form your regex string


How do you edit PHP and Perl scripts?

I am asking the question?>>PHP ,Perl scripts can be edited with help of editors like Editplus,Notepad++ OR you can also use Zend IDE.


What is the use of php in seo?

SEO (Search Engine Optimization) is used for webpages be it php, asp.net or perl. Not the other way round.


What are the differences between Perl and PHP?

PHP and perl are different kinds of scripting languages. Ultimately they serve the same end and can do the same things; for all practical purposes, one is not necessarily better than the other. However, for a number of reasons having to do with efficiency and practicality, most Web developers these days use PHP. In earlier times, perl was more common.


What does the PHP stand for in free PHP web hosting?

PHP, or hypertext perprocessor, is a scripting language used in web development. A web hosting plan may support the use of PHP, or even other similar languages like Python or Perl.


How many PHP-based websites are there?

Nearly all websites have some sort of PHP backend, although a large number use other scripts as well -- Perl, Python, ASP, CGI.


Can you generate DLL files from PHP scripts like you do in PERL?

You can make a .NET DLL for use in Visual Studio development projects with Phalanger 2.0.


Can you have PHP and PERL running on the same server and on the same website?

Yes, it is very easy to run PHP and Perl together on the same server, and even the same website. However, if you intend to use multiple applications written in different scripting languages, but have the potential for your site to eventually need complete integration, it is advisable to use applications written in only one scripting language.


Why to use use MYSQL with PHP and not anyother database?

You can connect any DB via PHP if you have database specific database extensions defined. LAMPP stack refer to 'Linux Apache Mysql PHP Perl'. Hence this stack is famous for php development as it include all the needed components for web development. Mysql is preferred mostly because it's extension is added by default in XAMPP or WAMPP stack.


Do you need to know PHP to make a game site?

Nope, there are many other web languages you could use to create a game site such as ASP, ruby, Perl and many more.


How do you use regular expression in web mining?

Regular expressions can be used to find patterns within data. Beyond that the subject of Regular expressions gets extremely complicated very fast, I suggest you purchase a book on the subject and read it... twice.. http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ref=sr_1_1?ie=UTF8&qid=1345423498&sr=8-1&keywords=regular+expressions