i need a regex to catch 5.97 and another for the 1 (last line)5.97|1|Paper #478 1,7
although this doesnt appear to work? thanks/^(\d+\.\d+)\|.*/; $gref = $1; /^(\d)$/; $type = $1;
In reply to regex question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |