Need a regular expression

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Need a regular expression
« on September 29th, 2011, 07:16 PM »
I need a regular expression to match either the fol. in a string, the problem is I need a single expression

?(Single question mark), ?:[0-9] or :[a-zA-Z0-9]

Any help is appreciated.
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,063

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,668
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841

Nao

  • Dadman with a boy
  • Posts: 16,063

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841