matching numbers inside ( )


Posted on 16th Feb 2014 07:03 pm by admin

I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be something like Code: [Select]/([0-9]+)/, but that doesn't work Can someone correct me please?

No comments posted yet

Your Answer:

Login to answer
100 Like 37 Dislike
Previous forums Next forums
Other forums

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

Combining Two Queries
I have two scripts that each work fine by themselves. One is a search script with a variable that de

session_destroy();
new to php
I have a simple login and am trying to write a logout.
I set a $_SESSION var to 1 i

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

Can't shake the "Warning: include()" error
I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

javascript in php code causes page to display white
Hi All,

Odd one this, I've got the following code (below) which is a simple log in form. The

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

finding key position of specified value in multi-dimensional array
Code: $openedfile = fopen($tfc_file4, "r");
$rc = 1;
while(!feof($openedfile))
{<

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash