How would I test for the following in a recipe script: $SomeNumber = NN; if (a line in wikitext starts with a space and has more than $SomeNumber characters) { # Do something. } Hagan