faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

What syntax would you use to match either any number or the word”tree”?

Feb 20th, 2007 01:28
Articles Hosting, Himanshu Jain,


You can match alternative branches with the pipe( | )character;
[0-9]|tree
=====
pipe( | )character;
[0-9]|tree
http://americanahost.com
http://www.qwesz.com