extract word with regular expresion

Discussion in 'PHP' started by bumbarov, Jan 31, 2012.

  1. #1
    I have many records in the database. They are like this '* FileName'
    How can I pull out of the expressions (*)
    documentFileName
    excelFileName
    ...
    only part document, excel ...
    with regular expression?

    Thank you!
     
    bumbarov, Jan 31, 2012 IP
  2. aidanriley

    aidanriley Banned

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    51
    #2
    Could you elaborate more? Are you trying to get the file types (document, excel) for each file or their names?
     
    aidanriley, Jan 31, 2012 IP